plane
Function Name | Parameter | Return | Explain |
getNormal | None | vec | |
setNormal | vec | None | |
getDistance | None | number | |
setDistance | number | None | |
distanceToPoint | vec | number | |
intersectRay | ray | vec (or None) | |
intersectSegment | segment | vec (or None) | |
flip | None | None | |
fast_transform | matrix | None | does not support non-uniform scaling matrix |
transform | matrix | None | supports all matrix |
Lib Function | Parameter | Return | Explain |
new | None | plane | by default, Normal is (0,1,0) and Distance is 0 |