SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Distance()

Fxp SRL::Math::Types::Plane::Distance ( const Vector3D & point) const
inlineconstexpr

Calculates signed distance from point to plane.

Parameters
pointPoint to test
Returns
Signed distance where: > 0: Point is on same side as normal = 0: Point is on plane < 0: Point is on opposite side from normal