41 #ifndef GLM_GTX_transform  
   42 #define GLM_GTX_transform 
   46 #include "../gtc/matrix_transform.hpp" 
   48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   49 #       pragma message("GLM: GLM_GTX_transform extension included") 
   60         template <
typename T, precision P>
 
   62                 detail::tvec3<T, P> 
const & v);
 
   67         template <
typename T, precision P>
 
   68         detail::tmat4x4<T, P> 
rotate(
 
   70                 detail::tvec3<T, P> 
const & v);
 
   75         template <
typename T, precision P>
 
   76         detail::tmat4x4<T, P> 
scale(
 
   77                 detail::tvec3<T, P> 
const & v);
 
   82 #include "transform.inl" 
   84 #endif//GLM_GTX_transform 
GLM_FUNC_DECL detail::tmat4x4< T, P > rotate(detail::tmat4x4< T, P > const &m, T const &angle, detail::tvec3< T, P > const &axis)
Builds a rotation 4 * 4 matrix created from an axis vector and an angle. 
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
Returns the quaternion rotation angle. 
GLM_FUNC_DECL detail::tmat4x4< T, P > scale(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars. 
GLM_FUNC_DECL detail::tmat4x4< T, P > translate(detail::tmat4x4< T, P > const &m, detail::tvec3< T, P > const &v)
Builds a translation 4 * 4 matrix created from a vector of 3 components.