Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public static float GetDistanceToPlane(
	 in Plane plane,
	 in Ray ray
)

Parameters

plane  Plane
Plane
ray  Ray
Ray

Return Value

Single
distance of the specified Ray from this Plane or float.NaN if Ray does not intersect the plane
See Also