43 #include "../gtc/constants.hpp" 44 #include "../gtc/quaternion.hpp" 45 #include "../gtx/norm.hpp" 47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 48 # pragma message("GLM: GLM_GTX_quaternion extension included") 59 template<
typename T, precision P>
61 detail::tquat<T, P>
const & q,
62 detail::tvec3<T, P>
const & v);
67 template<
typename T, precision P>
69 detail::tvec3<T, P>
const & v,
70 detail::tquat<T, P>
const & q);
76 template<
typename T, precision P>
78 detail::tquat<T, P>
const & q1,
79 detail::tquat<T, P>
const & q2,
80 detail::tquat<T, P>
const & s1,
81 detail::tquat<T, P>
const & s2,
87 template<
typename T, precision P>
89 detail::tquat<T, P>
const & prev,
90 detail::tquat<T, P>
const & curr,
91 detail::tquat<T, P>
const & next);
96 template<
typename T, precision P>
98 detail::tquat<T, P>
const & q);
103 template<
typename T, precision P>
105 detail::tquat<T, P>
const & q);
110 template<
typename T, precision P>
112 detail::tquat<T, P>
const & x,
125 template<
typename T, precision P>
127 detail::tquat<T, P>
const & q,
128 detail::tvec3<T, P>
const & v);
133 template<
typename T, precision P>
135 detail::tquat<T, P>
const & q,
136 detail::tvec4<T, P>
const & v);
141 template<
typename T, precision P>
143 detail::tquat<T, P>
const & q);
148 template<
typename T, precision P>
155 template<
typename T, precision P>
162 template<
typename T, precision P>
169 template<
typename T, precision P>
176 template<
typename T, precision P>
185 template<
typename T, precision P>
196 template<
typename T, precision P>
204 template<
typename T, precision P>
210 #include "quaternion.inl" GLM_FUNC_DECL genType log(genType const &x)
GLM_FUNC_DECL detail::tquat< T, P > toQuat(detail::tmat3x3< T, P > const &x)
GLM_FUNC_DECL detail::tmat4x4< T, P > toMat4(detail::tquat< T, P > const &x)
GLM_FUNC_DECL T length2(T const &x)
GLM_FUNC_DECL T extractRealComponent(detail::tquat< T, P > const &q)
GLM_FUNC_DECL detail::tquat< T, P > fastMix(detail::tquat< T, P > const &x, detail::tquat< T, P > const &y, T const &a)
GLM_FUNC_DECL detail::tvec3< T, P > cross(detail::tvec3< T, P > const &x, detail::tvec3< T, P > const &y)
GLM_FUNC_DECL detail::tquat< T, P > quat_cast(detail::tmat3x3< T, P > const &x)
GLM_FUNC_DECL detail::tquat< T, P > shortMix(detail::tquat< T, P > const &x, detail::tquat< T, P > const &y, T const &a)
GLM_FUNC_DECL detail::tmat4x4< T, P > mat4_cast(detail::tquat< T, P > const &x)
GLM_FUNC_DECL detail::tquat< T, P > rotation(detail::tvec3< T, P > const &orig, detail::tvec3< T, P > const &dest)
GLM_FUNC_DECL genType exp(genType const &x)
GLM_FUNC_DECL genType pow(genType const &base, genType const &exponent)
GLM_FUNC_DECL detail::tmat3x3< T, P > mat3_cast(detail::tquat< T, P > const &x)
GLM_FUNC_DECL detail::tquat< T, P > squad(detail::tquat< T, P > const &q1, detail::tquat< T, P > const &q2, detail::tquat< T, P > const &s1, detail::tquat< T, P > const &s2, T const &h)
GLM_FUNC_DECL detail::tmat3x3< T, P > toMat3(detail::tquat< T, P > const &x)
GLM_FUNC_DECL detail::tquat< T, P > intermediate(detail::tquat< T, P > const &prev, detail::tquat< T, P > const &curr, detail::tquat< T, P > const &next)