GLM_GTX_vector_angle
More...
#include "../glm.hpp"
#include "../gtc/epsilon.hpp"
#include "../gtx/quaternion.hpp"
#include "../gtx/rotate_vector.hpp"
#include "vector_angle.inl"
Go to the source code of this file.
|
template<length_t L, typename T , qualifier Q> |
GLM_FUNC_DECL T | glm::angle (vec< L, T, Q > const &x, vec< L, T, Q > const &y) |
| Returns the absolute angle between two vectors. More...
|
|
template<typename T , qualifier Q> |
GLM_FUNC_DECL T | glm::orientedAngle (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y) |
| Returns the oriented angle between two 2d vectors. More...
|
|
template<typename T , qualifier Q> |
GLM_FUNC_DECL T | glm::orientedAngle (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref) |
| Returns the oriented angle between two 3d vectors based from a reference axis. More...
|
|
GLM_GTX_vector_angle
- See also
- Core features (dependence)
-
GLM_GTX_quaternion (dependence)
-
gtx_epsilon (dependence)