38 #ifndef GLM_GTX_matrix_operation
39 #define GLM_GTX_matrix_operation
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_matrix_operation extension included")
55 template <
typename T, precision P>
57 detail::tvec2<T, P>
const & v);
61 template <
typename T, precision P>
63 detail::tvec2<T, P>
const & v);
67 template <
typename T, precision P>
69 detail::tvec2<T, P>
const & v);
73 template <
typename T, precision P>
75 detail::tvec2<T, P>
const & v);
79 template <
typename T, precision P>
81 detail::tvec3<T, P>
const & v);
85 template <
typename T, precision P>
87 detail::tvec3<T, P>
const & v);
91 template <
typename T, precision P>
93 detail::tvec2<T, P>
const & v);
97 template <
typename T, precision P>
99 detail::tvec3<T, P>
const & v);
103 template <
typename T, precision P>
105 detail::tvec4<T, P>
const & v);
110 #include "matrix_operation.inl"
112 #endif//GLM_GTX_matrix_operation
detail::tmat4x3< T, P > diagonal4x3(detail::tvec3< T, P > const &v)
Build a diagonal matrix.
detail::tmat2x3< T, P > diagonal2x3(detail::tvec2< T, P > const &v)
Build a diagonal matrix.
detail::tmat3x4< T, P > diagonal3x4(detail::tvec3< T, P > const &v)
Build a diagonal matrix.
detail::tmat3x2< T, P > diagonal3x2(detail::tvec2< T, P > const &v)
Build a diagonal matrix.
detail::tmat4x4< T, P > diagonal4x4(detail::tvec4< T, P > const &v)
Build a diagonal matrix.
detail::tmat3x3< T, P > diagonal3x3(detail::tvec3< T, P > const &v)
Build a diagonal matrix.
detail::tmat2x4< T, P > diagonal2x4(detail::tvec2< T, P > const &v)
Build a diagonal matrix.
detail::tmat4x2< T, P > diagonal4x2(detail::tvec2< T, P > const &v)
Build a diagonal matrix.
detail::tmat2x2< T, P > diagonal2x2(detail::tvec2< T, P > const &v)
Build a diagonal matrix.