44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
55 template <
typename T, precision P>
57 tvec2<T, P>
const & v1,
58 tvec2<T, P>
const & v2);
62 template <
typename T, precision P>
64 tmat2x2<T, P>
const & m);
68 template <
typename T, precision P>
70 tvec3<T, P>
const & v1,
71 tvec3<T, P>
const & v2,
72 tvec3<T, P>
const & v3);
76 template <
typename T, precision P>
78 tmat3x3<T, P>
const & m);
82 template <
typename T, precision P>
84 tvec4<T, P>
const & v1,
85 tvec4<T, P>
const & v2,
86 tvec4<T, P>
const & v3,
87 tvec4<T, P>
const & v4);
91 template <
typename T, precision P>
93 tmat4x4<T, P>
const & m);
97 template <
typename T, precision P>
99 tvec2<T, P>
const & v1,
100 tvec2<T, P>
const & v2);
104 template <
typename T, precision P>
106 tmat2x2<T, P>
const & m);
110 template <
typename T, precision P>
112 tvec3<T, P>
const & v1,
113 tvec3<T, P>
const & v2,
114 tvec3<T, P>
const & v3);
118 template <
typename T, precision P>
120 tmat3x3<T, P>
const & m);
124 template <
typename T, precision P>
126 tvec4<T, P>
const & v1,
127 tvec4<T, P>
const & v2,
128 tvec4<T, P>
const & v3,
129 tvec4<T, P>
const & v4);
133 template <
typename T, precision P>
135 tmat4x4<T, P>
const & m);
140 #include "matrix_major_storage.inl"
GLM_FUNC_DECL tmat4x4< T, P > rowMajor4(tmat4x4< 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 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 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.