29 #ifndef glm_core_type_mat2x3
30 #define glm_core_type_mat2x3
37 template <
typename T>
struct tvec1;
38 template <
typename T>
struct tvec2;
39 template <
typename T>
struct tvec3;
40 template <
typename T>
struct tvec4;
41 template <
typename T>
struct tmat2x2;
42 template <
typename T>
struct tmat2x3;
43 template <
typename T>
struct tmat2x4;
44 template <
typename T>
struct tmat3x2;
45 template <
typename T>
struct tmat3x3;
46 template <
typename T>
struct tmat3x4;
47 template <
typename T>
struct tmat4x2;
48 template <
typename T>
struct tmat4x3;
49 template <
typename T>
struct tmat4x4;
56 typedef std::size_t size_type;
57 typedef tvec3<T> col_type;
58 typedef tvec2<T> row_type;
59 typedef tmat2x3<T> type;
60 typedef tmat3x2<T> transpose_type;
62 static GLM_FUNC_DECL size_type col_size();
63 static GLM_FUNC_DECL size_type row_size();
65 GLM_FUNC_DECL GLM_CONSTEXPR size_type
length()
const;
73 GLM_FUNC_DECL tmat2x3();
74 GLM_FUNC_DECL tmat2x3(tmat2x3
const & m);
76 GLM_FUNC_DECL
explicit tmat2x3(
78 GLM_FUNC_DECL
explicit tmat2x3(
79 value_type
const & s);
80 GLM_FUNC_DECL
explicit tmat2x3(
81 value_type
const & x0, value_type
const & y0, value_type
const & z0,
82 value_type
const & x1, value_type
const & y1, value_type
const & z1);
83 GLM_FUNC_DECL
explicit tmat2x3(
90 GLM_FUNC_DECL
explicit tmat2x3(
93 template <
typename X1,
typename Y1,
typename Z1,
typename X2,
typename Y2,
typename Z2>
94 GLM_FUNC_DECL
explicit tmat2x3(
95 X1
const & x1, Y1
const & y1, Z1
const & z1,
96 X2
const & x2, Y2
const & y2, Z2
const & z2);
98 template <
typename U,
typename V>
99 GLM_FUNC_DECL
explicit tmat2x3(
101 tvec3<V>
const & v2);
105 template <
typename U>
106 GLM_FUNC_DECL
explicit tmat2x3(tmat2x3<U>
const & m);
108 GLM_FUNC_DECL
explicit tmat2x3(tmat2x2<T>
const & x);
109 GLM_FUNC_DECL
explicit tmat2x3(tmat3x3<T>
const & x);
110 GLM_FUNC_DECL
explicit tmat2x3(tmat4x4<T>
const & x);
111 GLM_FUNC_DECL
explicit tmat2x3(tmat2x4<T>
const & x);
112 GLM_FUNC_DECL
explicit tmat2x3(tmat3x2<T>
const & x);
113 GLM_FUNC_DECL
explicit tmat2x3(tmat3x4<T>
const & x);
114 GLM_FUNC_DECL
explicit tmat2x3(tmat4x2<T>
const & x);
115 GLM_FUNC_DECL
explicit tmat2x3(tmat4x3<T>
const & x);
118 col_type & operator[](size_type i);
119 col_type
const & operator[](size_type i)
const;
122 GLM_FUNC_DECL tmat2x3<T> & operator= (tmat2x3<T>
const & m);
123 template <
typename U>
124 GLM_FUNC_DECL tmat2x3<T> & operator= (tmat2x3<U>
const & m);
125 template <
typename U>
126 GLM_FUNC_DECL tmat2x3<T> & operator+= (U
const & s);
127 template <
typename U>
128 GLM_FUNC_DECL tmat2x3<T> & operator+= (tmat2x3<U>
const & m);
129 template <
typename U>
130 GLM_FUNC_DECL tmat2x3<T> & operator-= (U
const & s);
131 template <
typename U>
132 GLM_FUNC_DECL tmat2x3<T> & operator-= (tmat2x3<U>
const & m);
133 template <
typename U>
134 GLM_FUNC_DECL tmat2x3<T> & operator*= (U
const & s);
135 template <
typename U>
136 GLM_FUNC_DECL tmat2x3<T> & operator*= (tmat2x3<U>
const & m);
137 template <
typename U>
138 GLM_FUNC_DECL tmat2x3<T> & operator/= (U
const & s);
140 GLM_FUNC_DECL tmat2x3<T> & operator++ ();
141 GLM_FUNC_DECL tmat2x3<T> & operator-- ();
145 template <
typename T>
146 tmat2x3<T> operator+ (
147 tmat2x3<T>
const & m,
148 typename tmat2x3<T>::value_type
const & s);
150 template <
typename T>
151 tmat2x3<T> operator+ (
152 tmat2x3<T>
const & m1,
153 tmat2x3<T>
const & m2);
155 template <
typename T>
156 tmat2x3<T> operator- (
157 tmat2x3<T>
const & m,
158 typename tmat2x3<T>::value_type
const & s);
160 template <
typename T>
161 tmat2x3<T> operator- (
162 tmat2x3<T>
const & m1,
163 tmat2x3<T>
const & m2);
165 template <
typename T>
166 tmat2x3<T> operator* (
167 tmat2x3<T>
const & m,
168 typename tmat2x3<T>::value_type
const & s);
170 template <
typename T>
171 tmat2x3<T> operator* (
172 typename tmat2x3<T>::value_type
const & s,
173 tmat2x3<T>
const & m);
175 template <
typename T>
176 typename tmat2x3<T>::col_type operator* (
177 tmat2x3<T>
const & m,
178 typename tmat2x3<T>::row_type
const & v);
180 template <
typename T>
181 typename tmat2x3<T>::row_type operator* (
182 typename tmat2x3<T>::col_type
const & v,
183 tmat2x3<T>
const & m);
185 template <
typename T>
186 tmat2x3<T> operator* (
187 tmat2x3<T>
const & m1,
188 tmat2x2<T>
const & m2);
190 template <
typename T>
191 tmat3x3<T> operator* (
192 tmat2x3<T>
const & m1,
193 tmat3x2<T>
const & m2);
195 template <
typename T>
196 tmat4x3<T> operator* (
197 tmat2x3<T>
const & m1,
198 tmat4x2<T>
const & m2);
200 template <
typename T>
201 tmat2x3<T> operator/ (
202 tmat2x3<T>
const & m,
203 typename tmat2x3<T>::value_type
const & s);
205 template <
typename T>
206 tmat2x3<T> operator/ (
207 typename tmat2x3<T>::value_type
const & s,
208 tmat2x3<T>
const & m);
211 template <
typename T>
212 tmat2x3<T>
const operator- (
213 tmat2x3<T>
const & m);
215 template <
typename T>
216 tmat2x3<T>
const operator-- (
217 tmat2x3<T>
const & m,
220 template <
typename T>
221 tmat2x3<T>
const operator++ (
222 tmat2x3<T>
const & m,
254 #ifndef GLM_EXTERNAL_TEMPLATE
255 #include "type_mat2x3.inl"
258 #endif //glm_core_type_mat2x3