40 #ifndef GLM_GTX_rotate_normalized_axis 
   41 #define GLM_GTX_rotate_normalized_axis 
   45 #include "../gtc/epsilon.hpp" 
   46 #include "../gtc/quaternion.hpp" 
   48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   49 #       pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included") 
   68         template <
typename T, precision P>
 
   70                 detail::tmat4x4<T, P> 
const & m,
 
   72                 detail::tvec3<T, P> 
const & 
axis);
 
   81         template <
typename T, precision P>
 
   83                 detail::tquat<T, P> 
const & q,
 
   85                 detail::tvec3<T, P> 
const & 
axis);
 
   90 #include "rotate_normalized_axis.inl" 
   92 #endif//GLM_GTX_rotate_normalized_axis 
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
Returns the quaternion rotation angle. 
detail::tmat4x4< T, P > rotateNormalizedAxis(detail::tmat4x4< T, P > const &m, T const &angle, detail::tvec3< T, P > const &axis)
Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. 
GLM_FUNC_DECL detail::tvec3< T, P > axis(detail::tquat< T, P > const &x)
Returns the q rotation axis.