![]() |
Functions | |
| template<typename T > | |
| detail::tvec3< T > | closestPointOnLine (detail::tvec3< T > const &point, detail::tvec3< T > const &a, detail::tvec3< T > const &b) |
Find the point on a straight line which is the closet of a point.
<glm/gtx/closest_point.hpp> need to be included to use these functionalities.
| detail::tvec3<T> glm::closestPointOnLine | ( | detail::tvec3< T > const & | point, |
| detail::tvec3< T > const & | a, | ||
| detail::tvec3< T > const & | b | ||
| ) |
Find the point on a straight line which is the closet of a point.
1.7.5.1