24 #include "../ext/scalar_constants.hpp"
25 #include "../ext/quaternion_geometric.hpp"
26 #include "../common.hpp"
27 #include "../trigonometric.hpp"
28 #include "../exponential.hpp"
31 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
32 # pragma message("GLM: GLM_EXT_quaternion_common extension included")
52 template<
typename T, qualifier Q>
53 GLM_FUNC_DECL qua<T, Q>
mix(qua<T, Q>
const& x, qua<T, Q>
const& y, T a);
64 template<
typename T, qualifier Q>
65 GLM_FUNC_DECL qua<T, Q>
lerp(qua<T, Q>
const& x, qua<T, Q>
const& y, T a);
76 template<
typename T, qualifier Q>
77 GLM_FUNC_DECL qua<T, Q>
slerp(qua<T, Q>
const& x, qua<T, Q>
const& y, T a);
83 template<
typename T, qualifier Q>
84 GLM_FUNC_DECL qua<T, Q>
conjugate(qua<T, Q>
const& q);
90 template<
typename T, qualifier Q>
91 GLM_FUNC_DECL qua<T, Q>
inverse(qua<T, Q>
const& q);
103 template<
typename T, qualifier Q>
104 GLM_FUNC_DECL vec<4, bool, Q>
isnan(qua<T, Q>
const& x);
114 template<
typename T, qualifier Q>
115 GLM_FUNC_DECL vec<4, bool, Q>
isinf(qua<T, Q>
const& x);
120 #include "quaternion_common.inl"
GLM_FUNC_DECL vec< 4, bool, Q > isinf(qua< T, Q > const &x)
Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...
GLM_FUNC_DECL vec< 4, bool, Q > isnan(qua< T, Q > const &x)
Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of...
GLM_FUNC_DECL qua< T, Q > conjugate(qua< T, Q > const &q)
Returns the q conjugate.
GLM_FUNC_DECL qua< T, Q > slerp(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.
GLM_FUNC_DECL qua< T, Q > inverse(qua< T, Q > const &q)
Returns the q inverse.
GLM_FUNC_DECL qua< T, Q > lerp(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Linear interpolation of two quaternions.
GLM_FUNC_DECL qua< T, Q > mix(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.