43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   44 #       pragma message("GLM: GLM_GTX_matrix_operation extension included") 
   54         template <
typename T, precision P>
 
   56                 tvec2<T, P> 
const & v);
 
   60         template <
typename T, precision P>
 
   62                 tvec2<T, P> 
const & v);
 
   66         template <
typename T, precision P>
 
   68                 tvec2<T, P> 
const & v);
 
   72         template <
typename T, precision P>
 
   74                 tvec2<T, P> 
const & v);
 
   78         template <
typename T, precision P>
 
   80                 tvec3<T, P> 
const & v);
 
   84         template <
typename T, precision P>
 
   86                 tvec3<T, P> 
const & v);
 
   90         template <
typename T, precision P>
 
   92                 tvec2<T, P> 
const & v);
 
   96         template <
typename T, precision P>
 
   98                 tvec3<T, P> 
const & v);
 
  102         template <
typename T, precision P>
 
  104                 tvec4<T, P> 
const & v);
 
  109 #include "matrix_operation.inl" 
GLM_FUNC_DECL tmat3x4< T, P > diagonal3x4(tvec3< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat4x3< T, P > diagonal4x3(tvec3< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat4x4< T, P > diagonal4x4(tvec4< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat2x4< T, P > diagonal2x4(tvec2< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat3x3< T, P > diagonal3x3(tvec3< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat4x2< T, P > diagonal4x2(tvec2< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat2x3< T, P > diagonal2x3(tvec2< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat2x2< T, P > diagonal2x2(tvec2< T, P > const &v)
Build a diagonal matrix. 
GLM_FUNC_DECL tmat3x2< T, P > diagonal3x2(tvec2< T, P > const &v)
Build a diagonal matrix.