computeConePlaneSide
computeConePlaneSide(plane_normal_x, plane_normal_y, plane_normal_z, plane_constant, originX, originY, originZ, directionX, directionY, directionZ, angle, length) ⇒ number
2,0,or -2; 2: above, -2 : below, 0 : intersects plane NOTE: used an article by Bart Wronski https://bartwronski.com/2017/04/13/cull-that-cone/
Kind: global function
Param | Type |
---|---|
plane_normal_x | number |
plane_normal_y | number |
plane_normal_z | number |
plane_constant | number |
originX | number |
originY | number |
originZ | number |
directionX | number |
directionY | number |
directionZ | number |
angle | number |
length | number |