13 struct mat<2, 2, T, Q>
27 typedef length_t length_type;
28 GLM_FUNC_DECL
static GLM_CONSTEXPR length_type length() {
return 2; }
30 GLM_FUNC_DECL
col_type & operator[](length_type i);
31 GLM_FUNC_DECL GLM_CONSTEXPR
col_type const& operator[](length_type i)
const;
35 GLM_FUNC_DECL GLM_CONSTEXPR
mat() GLM_DEFAULT;
39 GLM_FUNC_DECL
explicit GLM_CONSTEXPR
mat(T scalar);
40 GLM_FUNC_DECL GLM_CONSTEXPR
mat(
41 T
const& x1, T
const& y1,
42 T
const& x2, T
const& y2);
43 GLM_FUNC_DECL GLM_CONSTEXPR
mat(
49 template<
typename U,
typename V,
typename M,
typename N>
50 GLM_FUNC_DECL GLM_CONSTEXPR
mat(
51 U
const& x1, V
const& y1,
52 M
const& x2, N
const& y2);
54 template<
typename U,
typename V>
55 GLM_FUNC_DECL GLM_CONSTEXPR
mat(
61 template<
typename U, qualifier P>