closest_point.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_closest_point extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  template <typename T, precision P>
55  GLM_FUNC_DECL detail::tvec3<T, P> closestPointOnLine(
56  detail::tvec3<T, P> const & point,
57  detail::tvec3<T, P> const & a,
58  detail::tvec3<T, P> const & b);
59 
61 }// namespace glm
62 
63 #include "closest_point.inl"
glm::closestPointOnLine
GLM_FUNC_DECL detail::tvec3< T, P > closestPointOnLine(detail::tvec3< T, P > const &point, detail::tvec3< T, P > const &a, detail::tvec3< T, P > const &b)
glm
Definition: _literals.hpp:31
GLM_FUNC_DECL
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:07