GLM  0.9.5
matrix_integer.hpp
Go to the documentation of this file.
1 
37 #ifndef GLM_GTC_matrix_integer
38 #define GLM_GTC_matrix_integer
39 
40 // Dependency:
41 #include "../mat2x2.hpp"
42 #include "../mat2x3.hpp"
43 #include "../mat2x4.hpp"
44 #include "../mat3x2.hpp"
45 #include "../mat3x3.hpp"
46 #include "../mat3x4.hpp"
47 #include "../mat4x2.hpp"
48 #include "../mat4x3.hpp"
49 #include "../mat4x4.hpp"
50 
51 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
52 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
53 #endif
54 
55 namespace glm
56 {
59 
62  typedef detail::tmat2x2<int, highp> highp_imat2;
63 
66  typedef detail::tmat3x3<int, highp> highp_imat3;
67 
70  typedef detail::tmat4x4<int, highp> highp_imat4;
71 
74  typedef detail::tmat2x2<int, highp> highp_imat2x2;
75 
78  typedef detail::tmat2x3<int, highp> highp_imat2x3;
79 
82  typedef detail::tmat2x4<int, highp> highp_imat2x4;
83 
86  typedef detail::tmat3x2<int, highp> highp_imat3x2;
87 
90  typedef detail::tmat3x3<int, highp> highp_imat3x3;
91 
94  typedef detail::tmat3x4<int, highp> highp_imat3x4;
95 
98  typedef detail::tmat4x2<int, highp> highp_imat4x2;
99 
102  typedef detail::tmat4x3<int, highp> highp_imat4x3;
103 
106  typedef detail::tmat4x4<int, highp> highp_imat4x4;
107 
108 
111  typedef detail::tmat2x2<int, mediump> mediump_imat2;
112 
115  typedef detail::tmat3x3<int, mediump> mediump_imat3;
116 
119  typedef detail::tmat4x4<int, mediump> mediump_imat4;
120 
121 
124  typedef detail::tmat2x2<int, mediump> mediump_imat2x2;
125 
128  typedef detail::tmat2x3<int, mediump> mediump_imat2x3;
129 
132  typedef detail::tmat2x4<int, mediump> mediump_imat2x4;
133 
136  typedef detail::tmat3x2<int, mediump> mediump_imat3x2;
137 
140  typedef detail::tmat3x3<int, mediump> mediump_imat3x3;
141 
144  typedef detail::tmat3x4<int, mediump> mediump_imat3x4;
145 
148  typedef detail::tmat4x2<int, mediump> mediump_imat4x2;
149 
152  typedef detail::tmat4x3<int, mediump> mediump_imat4x3;
153 
156  typedef detail::tmat4x4<int, mediump> mediump_imat4x4;
157 
158 
161  typedef detail::tmat2x2<int, lowp> lowp_imat2;
162 
165  typedef detail::tmat3x3<int, lowp> lowp_imat3;
166 
169  typedef detail::tmat4x4<int, lowp> lowp_imat4;
170 
171 
174  typedef detail::tmat2x2<int, lowp> lowp_imat2x2;
175 
178  typedef detail::tmat2x3<int, lowp> lowp_imat2x3;
179 
182  typedef detail::tmat2x4<int, lowp> lowp_imat2x4;
183 
186  typedef detail::tmat3x2<int, lowp> lowp_imat3x2;
187 
190  typedef detail::tmat3x3<int, lowp> lowp_imat3x3;
191 
194  typedef detail::tmat3x4<int, lowp> lowp_imat3x4;
195 
198  typedef detail::tmat4x2<int, lowp> lowp_imat4x2;
199 
202  typedef detail::tmat4x3<int, lowp> lowp_imat4x3;
203 
206  typedef detail::tmat4x4<int, lowp> lowp_imat4x4;
207 
208 
211  typedef detail::tmat2x2<uint, highp> highp_umat2;
212 
215  typedef detail::tmat3x3<uint, highp> highp_umat3;
216 
219  typedef detail::tmat4x4<uint, highp> highp_umat4;
220 
223  typedef detail::tmat2x2<uint, highp> highp_umat2x2;
224 
227  typedef detail::tmat2x3<uint, highp> highp_umat2x3;
228 
231  typedef detail::tmat2x4<uint, highp> highp_umat2x4;
232 
235  typedef detail::tmat3x2<uint, highp> highp_umat3x2;
236 
239  typedef detail::tmat3x3<uint, highp> highp_umat3x3;
240 
243  typedef detail::tmat3x4<uint, highp> highp_umat3x4;
244 
247  typedef detail::tmat4x2<uint, highp> highp_umat4x2;
248 
251  typedef detail::tmat4x3<uint, highp> highp_umat4x3;
252 
255  typedef detail::tmat4x4<uint, highp> highp_umat4x4;
256 
257 
260  typedef detail::tmat2x2<uint, mediump> mediump_umat2;
261 
264  typedef detail::tmat3x3<uint, mediump> mediump_umat3;
265 
268  typedef detail::tmat4x4<uint, mediump> mediump_umat4;
269 
270 
273  typedef detail::tmat2x2<uint, mediump> mediump_umat2x2;
274 
277  typedef detail::tmat2x3<uint, mediump> mediump_umat2x3;
278 
281  typedef detail::tmat2x4<uint, mediump> mediump_umat2x4;
282 
285  typedef detail::tmat3x2<uint, mediump> mediump_umat3x2;
286 
289  typedef detail::tmat3x3<uint, mediump> mediump_umat3x3;
290 
293  typedef detail::tmat3x4<uint, mediump> mediump_umat3x4;
294 
297  typedef detail::tmat4x2<uint, mediump> mediump_umat4x2;
298 
301  typedef detail::tmat4x3<uint, mediump> mediump_umat4x3;
302 
305  typedef detail::tmat4x4<uint, mediump> mediump_umat4x4;
306 
307 
310  typedef detail::tmat2x2<uint, lowp> lowp_umat2;
311 
314  typedef detail::tmat3x3<uint, lowp> lowp_umat3;
315 
318  typedef detail::tmat4x4<uint, lowp> lowp_umat4;
319 
320 
323  typedef detail::tmat2x2<uint, lowp> lowp_umat2x2;
324 
327  typedef detail::tmat2x3<uint, lowp> lowp_umat2x3;
328 
331  typedef detail::tmat2x4<uint, lowp> lowp_umat2x4;
332 
335  typedef detail::tmat3x2<uint, lowp> lowp_umat3x2;
336 
339  typedef detail::tmat3x3<uint, lowp> lowp_umat3x3;
340 
343  typedef detail::tmat3x4<uint, lowp> lowp_umat3x4;
344 
347  typedef detail::tmat4x2<uint, lowp> lowp_umat4x2;
348 
351  typedef detail::tmat4x3<uint, lowp> lowp_umat4x3;
352 
355  typedef detail::tmat4x4<uint, lowp> lowp_umat4x4;
356 
357 #if(defined(GLM_PRECISION_HIGHP_INT))
358  typedef highp_imat2 imat2;
359  typedef highp_imat3 imat3;
360  typedef highp_imat4 imat4;
361  typedef highp_imat2x2 imat2x2;
362  typedef highp_imat2x3 imat2x3;
363  typedef highp_imat2x4 imat2x4;
364  typedef highp_imat3x2 imat3x2;
365  typedef highp_imat3x3 imat3x3;
366  typedef highp_imat3x4 imat3x4;
367  typedef highp_imat4x2 imat4x2;
368  typedef highp_imat4x3 imat4x3;
369  typedef highp_imat4x4 imat4x4;
370 #elif(defined(GLM_PRECISION_LOWP_INT))
371  typedef lowp_imat2 imat2;
372  typedef lowp_imat3 imat3;
373  typedef lowp_imat4 imat4;
374  typedef lowp_imat2x2 imat2x2;
375  typedef lowp_imat2x3 imat2x3;
376  typedef lowp_imat2x4 imat2x4;
377  typedef lowp_imat3x2 imat3x2;
378  typedef lowp_imat3x3 imat3x3;
379  typedef lowp_imat3x4 imat3x4;
380  typedef lowp_imat4x2 imat4x2;
381  typedef lowp_imat4x3 imat4x3;
382  typedef lowp_imat4x4 imat4x4;
383 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
384 
388 
392 
396 
400 
404 
408 
412 
416 
420 
424 
428 
432 #endif//GLM_PRECISION
433 
434 #if(defined(GLM_PRECISION_HIGHP_UINT))
435  typedef highp_umat2 umat2;
436  typedef highp_umat3 umat3;
437  typedef highp_umat4 umat4;
438  typedef highp_umat2x2 umat2x2;
439  typedef highp_umat2x3 umat2x3;
440  typedef highp_umat2x4 umat2x4;
441  typedef highp_umat3x2 umat3x2;
442  typedef highp_umat3x3 umat3x3;
443  typedef highp_umat3x4 umat3x4;
444  typedef highp_umat4x2 umat4x2;
445  typedef highp_umat4x3 umat4x3;
446  typedef highp_umat4x4 umat4x4;
447 #elif(defined(GLM_PRECISION_LOWP_UINT))
448  typedef lowp_umat2 umat2;
449  typedef lowp_umat3 umat3;
450  typedef lowp_umat4 umat4;
451  typedef lowp_umat2x2 umat2x2;
452  typedef lowp_umat2x3 umat2x3;
453  typedef lowp_umat2x4 umat2x4;
454  typedef lowp_umat3x2 umat3x2;
455  typedef lowp_umat3x3 umat3x3;
456  typedef lowp_umat3x4 umat3x4;
457  typedef lowp_umat4x2 umat4x2;
458  typedef lowp_umat4x3 umat4x3;
459  typedef lowp_umat4x4 umat4x4;
460 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
461 
465 
469 
473 
477 
481 
485 
489 
493 
497 
501 
505 
509 #endif//GLM_PRECISION
510 
512 }//namespace glm
513 
514 #endif//GLM_GTC_matrix_integer
detail::tmat4x2< int, mediump > mediump_imat4x2
Medium-precision signed integer 4x2 matrix.
detail::tmat3x3< uint, lowp > lowp_umat3x3
Low-precision unsigned integer 3x3 matrix.
detail::tmat4x3< int, mediump > mediump_imat4x3
Medium-precision signed integer 4x3 matrix.
detail::tmat3x3< uint, highp > highp_umat3
High-precision unsigned integer 3x3 matrix.
detail::tmat2x2< int, lowp > lowp_imat2x2
Low-precision signed integer 2x2 matrix.
detail::tmat3x3< uint, lowp > lowp_umat3
Low-precision unsigned integer 3x3 matrix.
mediump_umat3x2 umat3x2
Unsigned integer 3x2 matrix.
detail::tmat2x2< uint, lowp > lowp_umat2
Low-precision unsigned integer 2x2 matrix.
detail::tmat2x4< uint, highp > highp_umat2x4
High-precision unsigned integer 2x4 matrix.
detail::tmat3x2< uint, lowp > lowp_umat3x2
Low-precision unsigned integer 3x2 matrix.
detail::tmat4x4< int, mediump > mediump_imat4x4
Medium-precision signed integer 4x4 matrix.
mediump_imat4x2 imat4x2
Signed integer 4x2 matrix.
detail::tmat2x2< uint, highp > highp_umat2
High-precision unsigned integer 2x2 matrix.
detail::tmat3x2< int, mediump > mediump_imat3x2
Medium-precision signed integer 3x2 matrix.
mediump_imat4x3 imat4x3
Signed integer 4x3 matrix.
mediump_imat2x4 imat2x4
Signed integer 2x4 matrix.
detail::tmat3x4< int, highp > highp_imat3x4
High-precision signed integer 3x4 matrix.
mediump_umat3x4 umat3x4
Unsigned integer 3x4 matrix.
mediump_imat2 imat2
Signed integer 2x2 matrix.
detail::tmat2x3< int, mediump > mediump_imat2x3
Medium-precision signed integer 2x3 matrix.
detail::tmat2x3< uint, mediump > mediump_umat2x3
Medium-precision unsigned integer 2x3 matrix.
detail::tmat2x2< int, highp > highp_imat2
High-precision signed integer 2x2 matrix.
detail::tmat2x4< uint, mediump > mediump_umat2x4
Medium-precision unsigned integer 2x4 matrix.
detail::tmat4x4< int, highp > highp_imat4
High-precision signed integer 4x4 matrix.
detail::tmat4x4< uint, highp > highp_umat4
High-precision unsigned integer 4x4 matrix.
detail::tmat2x2< uint, lowp > lowp_umat2x2
Low-precision unsigned integer 2x2 matrix.
detail::tmat4x3< uint, highp > highp_umat4x3
High-precision unsigned integer 4x3 matrix.
detail::tmat2x2< uint, mediump > mediump_umat2
Medium-precision unsigned integer 2x2 matrix.
detail::tmat3x4< int, mediump > mediump_imat3x4
Medium-precision signed integer 3x4 matrix.
detail::tmat2x4< uint, lowp > lowp_umat2x4
Low-precision unsigned integer 2x4 matrix.
detail::tmat3x3< uint, mediump > mediump_umat3
Medium-precision unsigned integer 3x3 matrix.
detail::tmat4x2< uint, highp > highp_umat4x2
High-precision unsigned integer 4x2 matrix.
mediump_umat4x3 umat4x3
Unsigned integer 4x3 matrix.
detail::tmat2x2< uint, mediump > mediump_umat2x2
Medium-precision unsigned integer 2x2 matrix.
detail::tmat4x2< uint, mediump > mediump_umat4x2
Medium-precision unsigned integer 4x2 matrix.
detail::tmat4x4< int, lowp > lowp_imat4x4
Low-precision signed integer 4x4 matrix.
mediump_imat3x2 imat3x2
Signed integer 3x2 matrix.
detail::tmat3x4< uint, lowp > lowp_umat3x4
Low-precision unsigned integer 3x4 matrix.
detail::tmat3x2< int, lowp > lowp_imat3x2
Low-precision signed integer 3x2 matrix.
detail::tmat4x4< uint, lowp > lowp_umat4
Low-precision unsigned integer 4x4 matrix.
detail::tmat3x2< uint, highp > highp_umat3x2
High-precision unsigned integer 3x2 matrix.
detail::tmat4x2< uint, lowp > lowp_umat4x2
Low-precision unsigned integer 4x2 matrix.
detail::tmat3x3< uint, mediump > mediump_umat3x3
Medium-precision unsigned integer 3x3 matrix.
detail::tmat4x4< int, highp > highp_imat4x4
High-precision signed integer 4x4 matrix.
detail::tmat2x2< int, mediump > mediump_imat2
Medium-precision signed integer 2x2 matrix.
mediump_imat4x4 imat4x4
Signed integer 4x4 matrix.
mediump_umat4 umat4
Unsigned integer 4x4 matrix.
detail::tmat4x3< int, lowp > lowp_imat4x3
Low-precision signed integer 4x3 matrix.
detail::tmat2x3< int, lowp > lowp_imat2x3
Low-precision signed integer 2x3 matrix.
mediump_imat3x3 imat3x3
Signed integer 3x3 matrix.
mediump_umat3 umat3
Unsigned integer 3x3 matrix.
detail::tmat2x3< uint, highp > highp_umat2x3
High-precision unsigned integer 2x3 matrix.
detail::tmat4x3< uint, lowp > lowp_umat4x3
Low-precision unsigned integer 4x3 matrix.
detail::tmat3x4< int, lowp > lowp_imat3x4
Low-precision signed integer 3x4 matrix.
mediump_umat4x2 umat4x2
Unsigned integer 4x2 matrix.
detail::tmat2x4< int, lowp > lowp_imat2x4
Low-precision signed integer 2x4 matrix.
mediump_imat4 imat4
Signed integer 4x4 matrix.
detail::tmat2x4< int, highp > highp_imat2x4
High-precision signed integer 2x4 matrix.
detail::tmat4x4< int, mediump > mediump_imat4
Medium-precision signed integer 4x4 matrix.
detail::tmat3x3< int, lowp > lowp_imat3
Low-precision signed integer 3x3 matrix.
detail::tmat4x4< uint, highp > highp_umat4x4
High-precision unsigned integer 4x4 matrix.
detail::tmat4x2< int, highp > highp_imat4x2
High-precision signed integer 4x2 matrix.
detail::tmat2x2< int, mediump > mediump_imat2x2
Medium-precision signed integer 2x2 matrix.
mediump_imat2x3 imat2x3
Signed integer 2x3 matrix.
detail::tmat2x2< int, lowp > lowp_imat2
Low-precision signed integer 2x2 matrix.
detail::tmat2x4< int, mediump > mediump_imat2x4
Medium-precision signed integer 2x4 matrix.
detail::tmat2x2< int, highp > highp_imat2x2
High-precision signed integer 2x2 matrix.
detail::tmat3x2< uint, mediump > mediump_umat3x2
Medium-precision unsigned integer 3x2 matrix.
mediump_umat3x3 umat3x3
Unsigned integer 3x3 matrix.
detail::tmat3x2< int, highp > highp_imat3x2
High-precision signed integer 3x2 matrix.
mediump_umat2 umat2
Unsigned integer 2x2 matrix.
detail::tmat3x3< int, mediump > mediump_imat3
Medium-precision signed integer 3x3 matrix.
mediump_umat2x2 umat2x2
Unsigned integer 2x2 matrix.
detail::tmat3x3< int, highp > highp_imat3
High-precision signed integer 3x3 matrix.
detail::tmat3x3< int, mediump > mediump_imat3x3
Medium-precision signed integer 3x3 matrix.
detail::tmat4x3< uint, mediump > mediump_umat4x3
Medium-precision unsigned integer 4x3 matrix.
mediump_umat4x4 umat4x4
Unsigned integer 4x4 matrix.
mediump_imat3 imat3
Signed integer 3x3 matrix.
mediump_imat2x2 imat2x2
Signed integer 2x2 matrix.
detail::tmat3x3< int, highp > highp_imat3x3
High-precision signed integer 3x3 matrix.
detail::tmat4x4< uint, mediump > mediump_umat4
Medium-precision unsigned integer 4x4 matrix.
detail::tmat3x4< uint, mediump > mediump_umat3x4
Medium-precision unsigned integer 3x4 matrix.
detail::tmat4x3< int, highp > highp_imat4x3
High-precision signed integer 4x3 matrix.
detail::tmat4x4< uint, lowp > lowp_umat4x4
Low-precision unsigned integer 4x4 matrix.
detail::tmat2x2< uint, highp > highp_umat2x2
High-precision unsigned integer 2x2 matrix.
detail::tmat4x4< uint, mediump > mediump_umat4x4
Medium-precision unsigned integer 4x4 matrix.
detail::tmat4x2< int, lowp > lowp_imat4x2
Low-precision signed integer 4x2 matrix.
detail::tmat2x3< uint, lowp > lowp_umat2x3
Low-precision unsigned integer 2x3 matrix.
detail::tmat3x3< int, lowp > lowp_imat3x3
Low-precision signed integer 3x3 matrix.
mediump_umat2x4 umat2x4
Unsigned integer 2x4 matrix.
mediump_umat2x3 umat2x3
Unsigned integer 2x3 matrix.
detail::tmat3x4< uint, highp > highp_umat3x4
High-precision unsigned integer 3x4 matrix.
detail::tmat4x4< int, lowp > lowp_imat4
Low-precision signed integer 4x4 matrix.
detail::tmat3x3< uint, highp > highp_umat3x3
High-precision unsigned integer 3x3 matrix.
detail::tmat2x3< int, highp > highp_imat2x3
High-precision signed integer 2x3 matrix.
mediump_imat3x4 imat3x4
Signed integer 3x4 matrix.