48 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
49 # pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
59 template <
typename T, precision P>
61 tvec2<T, P>
const & v1,
62 tvec2<T, P>
const & v2);
66 template <
typename T, precision P>
68 tmat2x2<T, P>
const & m);
72 template <
typename T, precision P>
74 tvec3<T, P>
const & v1,
75 tvec3<T, P>
const & v2,
76 tvec3<T, P>
const & v3);
80 template <
typename T, precision P>
82 tmat3x3<T, P>
const & m);
86 template <
typename T, precision P>
88 tvec4<T, P>
const & v1,
89 tvec4<T, P>
const & v2,
90 tvec4<T, P>
const & v3,
91 tvec4<T, P>
const & v4);
95 template <
typename T, precision P>
97 tmat4x4<T, P>
const & m);
101 template <
typename T, precision P>
103 tvec2<T, P>
const & v1,
104 tvec2<T, P>
const & v2);
108 template <
typename T, precision P>
110 tmat2x2<T, P>
const & m);
114 template <
typename T, precision P>
116 tvec3<T, P>
const & v1,
117 tvec3<T, P>
const & v2,
118 tvec3<T, P>
const & v3);
122 template <
typename T, precision P>
124 tmat3x3<T, P>
const & m);
128 template <
typename T, precision P>
130 tvec4<T, P>
const & v1,
131 tvec4<T, P>
const & v2,
132 tvec4<T, P>
const & v3,
133 tvec4<T, P>
const & v4);
137 template <
typename T, precision P>
139 tmat4x4<T, P>
const & m);
144 #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.