Skip to main content

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

ParamType
plane_normal_xnumber
plane_normal_ynumber
plane_normal_znumber
plane_constantnumber
originXnumber
originYnumber
originZnumber
directionXnumber
directionYnumber
directionZnumber
anglenumber
lengthnumber