Flow Visualisation
vector_angle.hpp
Go to the documentation of this file.
1 
40 #ifndef GLM_GTX_vector_angle
41 #define GLM_GTX_vector_angle GLM_VERSION
42 
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../gtc/epsilon.hpp"
46 #include "../gtx/quaternion.hpp"
47 #include "../gtx/rotate_vector.hpp"
48 
49 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
50 # pragma message("GLM: GLM_GTX_vector_angle extension included")
51 #endif
52 
53 namespace glm
54 {
57 
61  template <typename vecType>
62  GLM_FUNC_QUALIFIER typename vecType::value_type angle(
63  vecType const & x,
64  vecType const & y);
65 
69  template <typename T>
71  detail::tvec2<T> const & x,
72  detail::tvec2<T> const & y);
73 
77  template <typename T>
79  detail::tvec3<T> const & x,
80  detail::tvec3<T> const & y,
81  detail::tvec3<T> const & ref);
82 
84 }// namespace glm
85 
86 #include "vector_angle.inl"
87 
88 #endif//GLM_GTX_vector_angle
Definition: _detail.hpp:38
Definition: _swizzle.hpp:43
GLM_FUNC_QUALIFIER T orientedAngle(detail::tvec2< T > const &x, detail::tvec2< T > const &y)
valType angle(detail::tquat< valType > const &x)
#define GLM_FUNC_QUALIFIER
Definition: setup.hpp:679