Function legion::core::math::pointToPlane¶
Defined in File geometry.hpp
Function Documentation¶
-
inline float
legion::core::math
::
pointToPlane
(const vec3 &point, const vec3 &planePosition, const vec3 &planeNormal)¶ Calculates the closest distance between point p and a plane.
- Parameters
point
: - The pointplanePosition
: - A point on the planeplaneNormal
: - The plane normal