matrix_integer.hpp
Go to the documentation of this file.
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 #ifndef GLM_GTC_matrix_integer
38 #define GLM_GTC_matrix_integer GLM_VERSION
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
44 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  typedef detail::tmat2x2<highp_int> highp_imat2;
55 
58  typedef detail::tmat3x3<highp_int> highp_imat3;
59 
62  typedef detail::tmat4x4<highp_int> highp_imat4;
63 
66  typedef detail::tmat2x2<highp_int> highp_imat2x2;
67 
70  typedef detail::tmat2x3<highp_int> highp_imat2x3;
71 
74  typedef detail::tmat2x4<highp_int> highp_imat2x4;
75 
78  typedef detail::tmat3x2<highp_int> highp_imat3x2;
79 
82  typedef detail::tmat3x3<highp_int> highp_imat3x3;
83 
86  typedef detail::tmat3x4<highp_int> highp_imat3x4;
87 
90  typedef detail::tmat4x2<highp_int> highp_imat4x2;
91 
94  typedef detail::tmat4x3<highp_int> highp_imat4x3;
95 
98  typedef detail::tmat4x4<highp_int> highp_imat4x4;
99 
100 
103  typedef detail::tmat2x2<mediump_int> mediump_imat2;
104 
107  typedef detail::tmat3x3<mediump_int> mediump_imat3;
108 
111  typedef detail::tmat4x4<mediump_int> mediump_imat4;
112 
113 
116  typedef detail::tmat2x2<mediump_int> mediump_imat2x2;
117 
120  typedef detail::tmat2x3<mediump_int> mediump_imat2x3;
121 
124  typedef detail::tmat2x4<mediump_int> mediump_imat2x4;
125 
128  typedef detail::tmat3x2<mediump_int> mediump_imat3x2;
129 
132  typedef detail::tmat3x3<mediump_int> mediump_imat3x3;
133 
136  typedef detail::tmat3x4<mediump_int> mediump_imat3x4;
137 
140  typedef detail::tmat4x2<mediump_int> mediump_imat4x2;
141 
144  typedef detail::tmat4x3<mediump_int> mediump_imat4x3;
145 
148  typedef detail::tmat4x4<mediump_int> mediump_imat4x4;
149 
150 
153  typedef detail::tmat2x2<lowp_int> lowp_imat2;
154 
157  typedef detail::tmat3x3<lowp_int> lowp_imat3;
158 
161  typedef detail::tmat4x4<lowp_int> lowp_imat4;
162 
163 
166  typedef detail::tmat2x2<lowp_int> lowp_imat2x2;
167 
170  typedef detail::tmat2x3<lowp_int> lowp_imat2x3;
171 
174  typedef detail::tmat2x4<lowp_int> lowp_imat2x4;
175 
178  typedef detail::tmat3x2<lowp_int> lowp_imat3x2;
179 
182  typedef detail::tmat3x3<lowp_int> lowp_imat3x3;
183 
186  typedef detail::tmat3x4<lowp_int> lowp_imat3x4;
187 
190  typedef detail::tmat4x2<lowp_int> lowp_imat4x2;
191 
194  typedef detail::tmat4x3<lowp_int> lowp_imat4x3;
195 
198  typedef detail::tmat4x4<lowp_int> lowp_imat4x4;
199 
200 
203  typedef detail::tmat2x2<highp_uint> highp_umat2;
204 
207  typedef detail::tmat3x3<highp_uint> highp_umat3;
208 
211  typedef detail::tmat4x4<highp_uint> highp_umat4;
212 
215  typedef detail::tmat2x2<highp_uint> highp_umat2x2;
216 
219  typedef detail::tmat2x3<highp_uint> highp_umat2x3;
220 
223  typedef detail::tmat2x4<highp_uint> highp_umat2x4;
224 
227  typedef detail::tmat3x2<highp_uint> highp_umat3x2;
228 
231  typedef detail::tmat3x3<highp_uint> highp_umat3x3;
232 
235  typedef detail::tmat3x4<highp_uint> highp_umat3x4;
236 
239  typedef detail::tmat4x2<highp_uint> highp_umat4x2;
240 
243  typedef detail::tmat4x3<highp_uint> highp_umat4x3;
244 
247  typedef detail::tmat4x4<highp_uint> highp_umat4x4;
248 
249 
252  typedef detail::tmat2x2<mediump_uint> mediump_umat2;
253 
256  typedef detail::tmat3x3<mediump_uint> mediump_umat3;
257 
260  typedef detail::tmat4x4<mediump_uint> mediump_umat4;
261 
262 
265  typedef detail::tmat2x2<mediump_uint> mediump_umat2x2;
266 
269  typedef detail::tmat2x3<mediump_uint> mediump_umat2x3;
270 
273  typedef detail::tmat2x4<mediump_uint> mediump_umat2x4;
274 
277  typedef detail::tmat3x2<mediump_uint> mediump_umat3x2;
278 
281  typedef detail::tmat3x3<mediump_uint> mediump_umat3x3;
282 
285  typedef detail::tmat3x4<mediump_uint> mediump_umat3x4;
286 
289  typedef detail::tmat4x2<mediump_uint> mediump_umat4x2;
290 
293  typedef detail::tmat4x3<mediump_uint> mediump_umat4x3;
294 
297  typedef detail::tmat4x4<mediump_uint> mediump_umat4x4;
298 
299 
302  typedef detail::tmat2x2<lowp_uint> lowp_umat2;
303 
306  typedef detail::tmat3x3<lowp_uint> lowp_umat3;
307 
310  typedef detail::tmat4x4<lowp_uint> lowp_umat4;
311 
312 
315  typedef detail::tmat2x2<lowp_uint> lowp_umat2x2;
316 
319  typedef detail::tmat2x3<lowp_uint> lowp_umat2x3;
320 
323  typedef detail::tmat2x4<lowp_uint> lowp_umat2x4;
324 
327  typedef detail::tmat3x2<lowp_uint> lowp_umat3x2;
328 
331  typedef detail::tmat3x3<lowp_uint> lowp_umat3x3;
332 
335  typedef detail::tmat3x4<lowp_uint> lowp_umat3x4;
336 
339  typedef detail::tmat4x2<lowp_uint> lowp_umat4x2;
340 
343  typedef detail::tmat4x3<lowp_uint> lowp_umat4x3;
344 
347  typedef detail::tmat4x4<lowp_uint> lowp_umat4x4;
348 
349 #if(defined(GLM_PRECISION_HIGHP_INT))
350  typedef highp_imat2 imat2;
351  typedef highp_imat3 imat3;
352  typedef highp_imat4 imat4;
353  typedef highp_imat2x2 imat2x2;
354  typedef highp_imat2x3 imat2x3;
355  typedef highp_imat2x4 imat2x4;
356  typedef highp_imat3x2 imat3x2;
357  typedef highp_imat3x3 imat3x3;
358  typedef highp_imat3x4 imat3x4;
359  typedef highp_imat4x2 imat4x2;
360  typedef highp_imat4x3 imat4x3;
361  typedef highp_imat4x4 imat4x4;
362 #elif(defined(GLM_PRECISION_LOWP_INT))
363  typedef lowp_imat2 imat2;
364  typedef lowp_imat3 imat3;
365  typedef lowp_imat4 imat4;
366  typedef lowp_imat2x2 imat2x2;
367  typedef lowp_imat2x3 imat2x3;
368  typedef lowp_imat2x4 imat2x4;
369  typedef lowp_imat3x2 imat3x2;
370  typedef lowp_imat3x3 imat3x3;
371  typedef lowp_imat3x4 imat3x4;
372  typedef lowp_imat4x2 imat4x2;
373  typedef lowp_imat4x3 imat4x3;
374  typedef lowp_imat4x4 imat4x4;
375 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
376 
380 
384 
388 
392 
396 
400 
404 
408 
412 
416 
420 
424 #endif//GLM_PRECISION
425 
426 #if(defined(GLM_PRECISION_HIGHP_UINT))
427  typedef highp_umat2 umat2;
428  typedef highp_umat3 umat3;
429  typedef highp_umat4 umat4;
430  typedef highp_umat2x2 umat2x2;
431  typedef highp_umat2x3 umat2x3;
432  typedef highp_umat2x4 umat2x4;
433  typedef highp_umat3x2 umat3x2;
434  typedef highp_umat3x3 umat3x3;
435  typedef highp_umat3x4 umat3x4;
436  typedef highp_umat4x2 umat4x2;
437  typedef highp_umat4x3 umat4x3;
438  typedef highp_umat4x4 umat4x4;
439 #elif(defined(GLM_PRECISION_LOWP_UINT))
440  typedef lowp_umat2 umat2;
441  typedef lowp_umat3 umat3;
442  typedef lowp_umat4 umat4;
443  typedef lowp_umat2x2 umat2x2;
444  typedef lowp_umat2x3 umat2x3;
445  typedef lowp_umat2x4 umat2x4;
446  typedef lowp_umat3x2 umat3x2;
447  typedef lowp_umat3x3 umat3x3;
448  typedef lowp_umat3x4 umat3x4;
449  typedef lowp_umat4x2 umat4x2;
450  typedef lowp_umat4x3 umat4x3;
451  typedef lowp_umat4x4 umat4x4;
452 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
453 
457 
461 
465 
469 
473 
477 
481 
485 
489 
493 
497 
501 #endif//GLM_PRECISION
502 
504 }//namespace glm
505 
506 #endif//GLM_GTC_matrix_integer