Flow Visualisation
closest_point.hpp
Go to the documentation of this file.
1 
38 #ifndef GLM_GTX_closest_point
39 #define GLM_GTX_closest_point GLM_VERSION
40 
41 // Dependency:
42 #include "../glm.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_closest_point extension included")
46 #endif
47 
48 namespace glm
49 {
52 
55  template <typename T>
56  detail::tvec3<T> closestPointOnLine(
57  detail::tvec3<T> const & point,
58  detail::tvec3<T> const & a,
59  detail::tvec3<T> const & b);
60 
62 }// namespace glm
63 
64 #include "closest_point.inl"
65 
66 #endif//GLM_GTX_closest_point
Definition: _detail.hpp:38
detail::tvec3< T > closestPointOnLine(detail::tvec3< T > const &point, detail::tvec3< T > const &a, detail::tvec3< T > const &b)