|
staticprivate |
Tests whether ray is intersecting plane.
| rayStart | vector Start of ray |
| rayEnd | vector End of ray |
| planeNormal | vector Normal of the plane |
| planeDist | float Length of the plane |
| intersection | vector Intersection point of the plane, only valid when return is 3 |
int 1 when behind, 2 when in front and 3 when intersecting the plane