 |
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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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