19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
30 template <
typename T, precision P>
32 tvec2<T, P>
const & v1,
33 tvec2<T, P>
const & v2);
37 template <
typename T, precision P>
39 tmat2x2<T, P>
const & m);
43 template <
typename T, precision P>
45 tvec3<T, P>
const & v1,
46 tvec3<T, P>
const & v2,
47 tvec3<T, P>
const & v3);
51 template <
typename T, precision P>
53 tmat3x3<T, P>
const & m);
57 template <
typename T, precision P>
59 tvec4<T, P>
const & v1,
60 tvec4<T, P>
const & v2,
61 tvec4<T, P>
const & v3,
62 tvec4<T, P>
const & v4);
66 template <
typename T, precision P>
68 tmat4x4<T, P>
const & m);
72 template <
typename T, precision P>
74 tvec2<T, P>
const & v1,
75 tvec2<T, P>
const & v2);
79 template <
typename T, precision P>
81 tmat2x2<T, P>
const & m);
85 template <
typename T, precision P>
87 tvec3<T, P>
const & v1,
88 tvec3<T, P>
const & v2,
89 tvec3<T, P>
const & v3);
93 template <
typename T, precision P>
95 tmat3x3<T, P>
const & m);
99 template <
typename T, precision P>
101 tvec4<T, P>
const & v1,
102 tvec4<T, P>
const & v2,
103 tvec4<T, P>
const & v3,
104 tvec4<T, P>
const & v4);
108 template <
typename T, precision P>
110 tmat4x4<T, P>
const & m);
115 #include "matrix_major_storage.inl"
GLM_FUNC_DECL tmat4x4< T, P > colMajor4(tmat4x4< T, P > const &m)
Build a column major matrix from other matrix.
GLM_FUNC_DECL tmat2x2< T, P > rowMajor2(tmat2x2< T, P > const &m)
Build a row major matrix from other matrix.
GLM_FUNC_DECL tmat3x3< T, P > rowMajor3(tmat3x3< T, P > const &m)
Build a row major matrix from other matrix.
GLM_FUNC_DECL tmat2x2< T, P > colMajor2(tmat2x2< T, P > const &m)
Build a column major matrix from other matrix.
GLM_FUNC_DECL tmat3x3< T, P > colMajor3(tmat3x3< T, P > const &m)
Build a column major matrix from other matrix.
GLM_FUNC_DECL tmat4x4< T, P > rowMajor4(tmat4x4< T, P > const &m)
Build a row major matrix from other matrix.