vector_angle.hpp
Go to the documentation of this file.
1 
40 #pragma once
41 
42 // Dependency:
43 #include "../glm.hpp"
44 #include "../gtc/epsilon.hpp"
45 #include "../gtx/quaternion.hpp"
46 #include "../gtx/rotate_vector.hpp"
47 
48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_vector_angle extension included")
50 #endif
51 
52 namespace glm
53 {
56 
60  template <typename vecType>
61  GLM_FUNC_DECL typename vecType::value_type angle(
62  vecType const & x,
63  vecType const & y);
64 
68  template <typename T, precision P>
70  detail::tvec2<T, P> const & x,
71  detail::tvec2<T, P> const & y);
72 
76  template <typename T, precision P>
78  detail::tvec3<T, P> const & x,
79  detail::tvec3<T, P> const & y,
80  detail::tvec3<T, P> const & ref);
81 
83 }// namespace glm
84 
85 #include "vector_angle.inl"
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
GLM_FUNC_DECL T orientedAngle(detail::tvec2< T, P > const &x, detail::tvec2< T, P > const &y)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:06