 |
MathUtilsGetDistanceToPlane(Plane, Ray) Method |
Returns distance of the specified Ray from this Plane.
If distance is float.NaN, then Ray does not intersect the plane.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static float GetDistanceToPlane(
in Plane plane,
in Ray ray
)
Parameters
- plane Plane
- Plane
- ray Ray
- Ray
Return Value
Singledistance of the specified Ray from this Plane or float.NaN if Ray does not intersect the plane
See Also