computeTrianglePlaneSide
computeTrianglePlaneSide(plane_normal_x, plane_normal_y, plane_normal_z, plane_constant, ax, ay, az, bx, by, bz, cx, cy, cz) ⇒ number
Produces a numeric result to indicate which side of the plane the triangle is on between +3 and -3, +3 means that all vertices ave above the plane, -3 means all vertices are below the plane, values in between indicate that plane cuts throught the triangle
Kind: global function
Param | Type |
---|---|
plane_normal_x | number |
plane_normal_y | number |
plane_normal_z | number |
plane_constant | number |
ax | number |
ay | number |
az | number |
bx | number |
by | number |
bz | number |
cx | number |
cy | number |
cz | number |