0.9.8
matrix_integer.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 
14 // Dependency:
15 #include "../mat2x2.hpp"
16 #include "../mat2x3.hpp"
17 #include "../mat2x4.hpp"
18 #include "../mat3x2.hpp"
19 #include "../mat3x3.hpp"
20 #include "../mat3x4.hpp"
21 #include "../mat4x2.hpp"
22 #include "../mat4x3.hpp"
23 #include "../mat4x4.hpp"
24 
25 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
27 #endif
28 
29 namespace glm
30 {
33 
36  typedef tmat2x2<int, highp> highp_imat2;
37 
40  typedef tmat3x3<int, highp> highp_imat3;
41 
44  typedef tmat4x4<int, highp> highp_imat4;
45 
48  typedef tmat2x2<int, highp> highp_imat2x2;
49 
52  typedef tmat2x3<int, highp> highp_imat2x3;
53 
56  typedef tmat2x4<int, highp> highp_imat2x4;
57 
60  typedef tmat3x2<int, highp> highp_imat3x2;
61 
64  typedef tmat3x3<int, highp> highp_imat3x3;
65 
68  typedef tmat3x4<int, highp> highp_imat3x4;
69 
72  typedef tmat4x2<int, highp> highp_imat4x2;
73 
76  typedef tmat4x3<int, highp> highp_imat4x3;
77 
80  typedef tmat4x4<int, highp> highp_imat4x4;
81 
82 
85  typedef tmat2x2<int, mediump> mediump_imat2;
86 
89  typedef tmat3x3<int, mediump> mediump_imat3;
90 
93  typedef tmat4x4<int, mediump> mediump_imat4;
94 
95 
98  typedef tmat2x2<int, mediump> mediump_imat2x2;
99 
102  typedef tmat2x3<int, mediump> mediump_imat2x3;
103 
106  typedef tmat2x4<int, mediump> mediump_imat2x4;
107 
110  typedef tmat3x2<int, mediump> mediump_imat3x2;
111 
114  typedef tmat3x3<int, mediump> mediump_imat3x3;
115 
118  typedef tmat3x4<int, mediump> mediump_imat3x4;
119 
122  typedef tmat4x2<int, mediump> mediump_imat4x2;
123 
126  typedef tmat4x3<int, mediump> mediump_imat4x3;
127 
130  typedef tmat4x4<int, mediump> mediump_imat4x4;
131 
132 
135  typedef tmat2x2<int, lowp> lowp_imat2;
136 
139  typedef tmat3x3<int, lowp> lowp_imat3;
140 
143  typedef tmat4x4<int, lowp> lowp_imat4;
144 
145 
148  typedef tmat2x2<int, lowp> lowp_imat2x2;
149 
152  typedef tmat2x3<int, lowp> lowp_imat2x3;
153 
156  typedef tmat2x4<int, lowp> lowp_imat2x4;
157 
160  typedef tmat3x2<int, lowp> lowp_imat3x2;
161 
164  typedef tmat3x3<int, lowp> lowp_imat3x3;
165 
168  typedef tmat3x4<int, lowp> lowp_imat3x4;
169 
172  typedef tmat4x2<int, lowp> lowp_imat4x2;
173 
176  typedef tmat4x3<int, lowp> lowp_imat4x3;
177 
180  typedef tmat4x4<int, lowp> lowp_imat4x4;
181 
182 
185  typedef tmat2x2<uint, highp> highp_umat2;
186 
189  typedef tmat3x3<uint, highp> highp_umat3;
190 
193  typedef tmat4x4<uint, highp> highp_umat4;
194 
197  typedef tmat2x2<uint, highp> highp_umat2x2;
198 
201  typedef tmat2x3<uint, highp> highp_umat2x3;
202 
205  typedef tmat2x4<uint, highp> highp_umat2x4;
206 
209  typedef tmat3x2<uint, highp> highp_umat3x2;
210 
213  typedef tmat3x3<uint, highp> highp_umat3x3;
214 
217  typedef tmat3x4<uint, highp> highp_umat3x4;
218 
221  typedef tmat4x2<uint, highp> highp_umat4x2;
222 
225  typedef tmat4x3<uint, highp> highp_umat4x3;
226 
229  typedef tmat4x4<uint, highp> highp_umat4x4;
230 
231 
234  typedef tmat2x2<uint, mediump> mediump_umat2;
235 
238  typedef tmat3x3<uint, mediump> mediump_umat3;
239 
242  typedef tmat4x4<uint, mediump> mediump_umat4;
243 
244 
247  typedef tmat2x2<uint, mediump> mediump_umat2x2;
248 
251  typedef tmat2x3<uint, mediump> mediump_umat2x3;
252 
255  typedef tmat2x4<uint, mediump> mediump_umat2x4;
256 
259  typedef tmat3x2<uint, mediump> mediump_umat3x2;
260 
263  typedef tmat3x3<uint, mediump> mediump_umat3x3;
264 
267  typedef tmat3x4<uint, mediump> mediump_umat3x4;
268 
271  typedef tmat4x2<uint, mediump> mediump_umat4x2;
272 
275  typedef tmat4x3<uint, mediump> mediump_umat4x3;
276 
279  typedef tmat4x4<uint, mediump> mediump_umat4x4;
280 
281 
284  typedef tmat2x2<uint, lowp> lowp_umat2;
285 
288  typedef tmat3x3<uint, lowp> lowp_umat3;
289 
292  typedef tmat4x4<uint, lowp> lowp_umat4;
293 
294 
297  typedef tmat2x2<uint, lowp> lowp_umat2x2;
298 
301  typedef tmat2x3<uint, lowp> lowp_umat2x3;
302 
305  typedef tmat2x4<uint, lowp> lowp_umat2x4;
306 
309  typedef tmat3x2<uint, lowp> lowp_umat3x2;
310 
313  typedef tmat3x3<uint, lowp> lowp_umat3x3;
314 
317  typedef tmat3x4<uint, lowp> lowp_umat3x4;
318 
321  typedef tmat4x2<uint, lowp> lowp_umat4x2;
322 
325  typedef tmat4x3<uint, lowp> lowp_umat4x3;
326 
329  typedef tmat4x4<uint, lowp> lowp_umat4x4;
330 
331 #if(defined(GLM_PRECISION_HIGHP_INT))
332  typedef highp_imat2 imat2;
333  typedef highp_imat3 imat3;
334  typedef highp_imat4 imat4;
335  typedef highp_imat2x2 imat2x2;
336  typedef highp_imat2x3 imat2x3;
337  typedef highp_imat2x4 imat2x4;
338  typedef highp_imat3x2 imat3x2;
339  typedef highp_imat3x3 imat3x3;
340  typedef highp_imat3x4 imat3x4;
341  typedef highp_imat4x2 imat4x2;
342  typedef highp_imat4x3 imat4x3;
343  typedef highp_imat4x4 imat4x4;
344 #elif(defined(GLM_PRECISION_LOWP_INT))
345  typedef lowp_imat2 imat2;
346  typedef lowp_imat3 imat3;
347  typedef lowp_imat4 imat4;
348  typedef lowp_imat2x2 imat2x2;
349  typedef lowp_imat2x3 imat2x3;
350  typedef lowp_imat2x4 imat2x4;
351  typedef lowp_imat3x2 imat3x2;
352  typedef lowp_imat3x3 imat3x3;
353  typedef lowp_imat3x4 imat3x4;
354  typedef lowp_imat4x2 imat4x2;
355  typedef lowp_imat4x3 imat4x3;
356  typedef lowp_imat4x4 imat4x4;
357 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
358 
361  typedef mediump_imat2 imat2;
362 
365  typedef mediump_imat3 imat3;
366 
369  typedef mediump_imat4 imat4;
370 
373  typedef mediump_imat2x2 imat2x2;
374 
377  typedef mediump_imat2x3 imat2x3;
378 
381  typedef mediump_imat2x4 imat2x4;
382 
385  typedef mediump_imat3x2 imat3x2;
386 
389  typedef mediump_imat3x3 imat3x3;
390 
393  typedef mediump_imat3x4 imat3x4;
394 
397  typedef mediump_imat4x2 imat4x2;
398 
401  typedef mediump_imat4x3 imat4x3;
402 
405  typedef mediump_imat4x4 imat4x4;
406 #endif//GLM_PRECISION
407 
408 #if(defined(GLM_PRECISION_HIGHP_UINT))
409  typedef highp_umat2 umat2;
410  typedef highp_umat3 umat3;
411  typedef highp_umat4 umat4;
412  typedef highp_umat2x2 umat2x2;
413  typedef highp_umat2x3 umat2x3;
414  typedef highp_umat2x4 umat2x4;
415  typedef highp_umat3x2 umat3x2;
416  typedef highp_umat3x3 umat3x3;
417  typedef highp_umat3x4 umat3x4;
418  typedef highp_umat4x2 umat4x2;
419  typedef highp_umat4x3 umat4x3;
420  typedef highp_umat4x4 umat4x4;
421 #elif(defined(GLM_PRECISION_LOWP_UINT))
422  typedef lowp_umat2 umat2;
423  typedef lowp_umat3 umat3;
424  typedef lowp_umat4 umat4;
425  typedef lowp_umat2x2 umat2x2;
426  typedef lowp_umat2x3 umat2x3;
427  typedef lowp_umat2x4 umat2x4;
428  typedef lowp_umat3x2 umat3x2;
429  typedef lowp_umat3x3 umat3x3;
430  typedef lowp_umat3x4 umat3x4;
431  typedef lowp_umat4x2 umat4x2;
432  typedef lowp_umat4x3 umat4x3;
433  typedef lowp_umat4x4 umat4x4;
434 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
435 
438  typedef mediump_umat2 umat2;
439 
442  typedef mediump_umat3 umat3;
443 
446  typedef mediump_umat4 umat4;
447 
450  typedef mediump_umat2x2 umat2x2;
451 
454  typedef mediump_umat2x3 umat2x3;
455 
458  typedef mediump_umat2x4 umat2x4;
459 
462  typedef mediump_umat3x2 umat3x2;
463 
466  typedef mediump_umat3x3 umat3x3;
467 
470  typedef mediump_umat3x4 umat3x4;
471 
474  typedef mediump_umat4x2 umat4x2;
475 
478  typedef mediump_umat4x3 umat4x3;
479 
482  typedef mediump_umat4x4 umat4x4;
483 #endif//GLM_PRECISION
484 
486 }//namespace glm
mediump_imat4x3 imat4x3
Signed integer 4x3 matrix.
tmat3x3< int, lowp > lowp_imat3
Low-precision signed integer 3x3 matrix.
tmat2x2< int, mediump > mediump_imat2x2
Medium-precision signed integer 2x2 matrix.
tmat3x4< int, mediump > mediump_imat3x4
Medium-precision signed integer 3x4 matrix.
tmat3x2< int, highp > highp_imat3x2
High-precision signed integer 3x2 matrix.
tmat4x2< uint, lowp > lowp_umat4x2
Low-precision unsigned integer 4x2 matrix.
tmat3x2< uint, mediump > mediump_umat3x2
Medium-precision unsigned integer 3x2 matrix.
tmat3x3< int, mediump > mediump_imat3x3
Medium-precision signed integer 3x3 matrix.
mediump_imat2x3 imat2x3
Signed integer 2x3 matrix.
mediump_umat4x2 umat4x2
Unsigned integer 4x2 matrix.
tmat3x3< int, highp > highp_imat3
High-precision signed integer 3x3 matrix.
tmat4x2< int, highp > highp_imat4x2
High-precision signed integer 4x2 matrix.
tmat4x4< int, highp > highp_imat4x4
High-precision signed integer 4x4 matrix.
tmat3x2< int, lowp > lowp_imat3x2
Low-precision signed integer 3x2 matrix.
tmat3x2< int, mediump > mediump_imat3x2
Medium-precision signed integer 3x2 matrix.
mediump_umat2 umat2
Unsigned integer 2x2 matrix.
tmat2x4< int, mediump > mediump_imat2x4
Medium-precision signed integer 2x4 matrix.
mediump_imat2x2 imat2x2
Signed integer 2x2 matrix.
tmat2x2< uint, mediump > mediump_umat2x2
Medium-precision unsigned integer 2x2 matrix.
tmat3x3< uint, highp > highp_umat3x3
High-precision unsigned integer 3x3 matrix.
tmat3x4< int, lowp > lowp_imat3x4
Low-precision signed integer 3x4 matrix.
mediump_umat2x2 umat2x2
Unsigned integer 2x2 matrix.
mediump_umat4x4 umat4x4
Unsigned integer 4x4 matrix.
mediump_imat4 imat4
Signed integer 4x4 matrix.
mediump_umat3 umat3
Unsigned integer 3x3 matrix.
tmat2x3< int, lowp > lowp_imat2x3
Low-precision signed integer 2x3 matrix.
tmat2x3< uint, lowp > lowp_umat2x3
Low-precision unsigned integer 2x3 matrix.
mediump_imat3 imat3
Signed integer 3x3 matrix.
mediump_umat2x3 umat2x3
Unsigned integer 2x3 matrix.
tmat4x4< uint, highp > highp_umat4
High-precision unsigned integer 4x4 matrix.
tmat4x3< uint, lowp > lowp_umat4x3
Low-precision unsigned integer 4x3 matrix.
tmat4x2< uint, mediump > mediump_umat4x2
Medium-precision unsigned integer 4x2 matrix.
tmat3x3< uint, lowp > lowp_umat3
Low-precision unsigned integer 3x3 matrix.
tmat2x2< int, highp > highp_imat2x2
High-precision signed integer 2x2 matrix.
tmat2x4< uint, highp > highp_umat2x4
High-precision unsigned integer 2x4 matrix.
tmat4x3< uint, mediump > mediump_umat4x3
Medium-precision unsigned integer 4x3 matrix.
tmat4x4< int, mediump > mediump_imat4x4
Medium-precision signed integer 4x4 matrix.
Definition: _noise.hpp:11
tmat3x3< int, mediump > mediump_imat3
Medium-precision signed integer 3x3 matrix.
tmat2x3< uint, mediump > mediump_umat2x3
Medium-precision unsigned integer 2x3 matrix.
mediump_imat3x4 imat3x4
Signed integer 3x4 matrix.
tmat4x4< uint, mediump > mediump_umat4
Medium-precision unsigned integer 4x4 matrix.
tmat2x4< int, lowp > lowp_imat2x4
Low-precision signed integer 2x4 matrix.
tmat3x3< int, highp > highp_imat3x3
High-precision signed integer 3x3 matrix.
tmat3x4< uint, lowp > lowp_umat3x4
Low-precision unsigned integer 3x4 matrix.
tmat3x3< uint, lowp > lowp_umat3x3
Low-precision unsigned integer 3x3 matrix.
tmat4x4< uint, mediump > mediump_umat4x4
Medium-precision unsigned integer 4x4 matrix.
tmat2x2< uint, highp > highp_umat2
High-precision unsigned integer 2x2 matrix.
mediump_umat2x4 umat2x4
Unsigned integer 2x4 matrix.
tmat2x3< int, mediump > mediump_imat2x3
Medium-precision signed integer 2x3 matrix.
tmat3x4< uint, highp > highp_umat3x4
High-precision unsigned integer 3x4 matrix.
tmat2x2< int, lowp > lowp_imat2x2
Low-precision signed integer 2x2 matrix.
tmat2x2< int, lowp > lowp_imat2
Low-precision signed integer 2x2 matrix.
tmat2x2< int, highp > highp_imat2
High-precision signed integer 2x2 matrix.
tmat2x4< uint, mediump > mediump_umat2x4
Medium-precision unsigned integer 2x4 matrix.
mediump_umat4x3 umat4x3
Unsigned integer 4x3 matrix.
tmat2x2< uint, lowp > lowp_umat2
Low-precision unsigned integer 2x2 matrix.
tmat2x2< uint, highp > highp_umat2x2
High-precision unsigned integer 2x2 matrix.
tmat3x3< uint, highp > highp_umat3
High-precision unsigned integer 3x3 matrix.
tmat3x4< uint, mediump > mediump_umat3x4
Medium-precision unsigned integer 3x4 matrix.
tmat4x3< int, mediump > mediump_imat4x3
Medium-precision signed integer 4x3 matrix.
tmat2x4< int, highp > highp_imat2x4
High-precision signed integer 2x4 matrix.
mediump_imat4x4 imat4x4
Signed integer 4x4 matrix.
tmat3x2< uint, lowp > lowp_umat3x2
Low-precision unsigned integer 3x2 matrix.
tmat4x2< int, mediump > mediump_imat4x2
Medium-precision signed integer 4x2 matrix.
tmat4x4< int, lowp > lowp_imat4x4
Low-precision signed integer 4x4 matrix.
tmat2x3< uint, highp > highp_umat2x3
High-precision unsigned integer 2x3 matrix.
mediump_imat2x4 imat2x4
Signed integer 2x4 matrix.
tmat4x4< uint, highp > highp_umat4x4
High-precision unsigned integer 4x4 matrix.
mediump_imat2 imat2
Signed integer 2x2 matrix.
mediump_imat4x2 imat4x2
Signed integer 4x2 matrix.
tmat4x4< uint, lowp > lowp_umat4
Low-precision unsigned integer 4x4 matrix.
tmat2x2< uint, lowp > lowp_umat2x2
Low-precision unsigned integer 2x2 matrix.
tmat4x2< int, lowp > lowp_imat4x2
Low-precision signed integer 4x2 matrix.
tmat4x3< int, lowp > lowp_imat4x3
Low-precision signed integer 4x3 matrix.
mediump_umat3x2 umat3x2
Unsigned integer 3x2 matrix.
mediump_umat3x4 umat3x4
Unsigned integer 3x4 matrix.
tmat2x2< uint, mediump > mediump_umat2
Medium-precision unsigned integer 2x2 matrix.
mediump_imat3x3 imat3x3
Signed integer 3x3 matrix.
tmat3x3< uint, mediump > mediump_umat3x3
Medium-precision unsigned integer 3x3 matrix.
tmat4x4< int, lowp > lowp_imat4
Low-precision signed integer 4x4 matrix.
tmat3x3< int, lowp > lowp_imat3x3
Low-precision signed integer 3x3 matrix.
tmat2x2< int, mediump > mediump_imat2
Medium-precision signed integer 2x2 matrix.
mediump_umat3x3 umat3x3
Unsigned integer 3x3 matrix.
tmat4x4< int, mediump > mediump_imat4
Medium-precision signed integer 4x4 matrix.
tmat3x3< uint, mediump > mediump_umat3
Medium-precision unsigned integer 3x3 matrix.
tmat4x4< uint, lowp > lowp_umat4x4
Low-precision unsigned integer 4x4 matrix.
tmat2x3< int, highp > highp_imat2x3
High-precision signed integer 2x3 matrix.
tmat2x4< uint, lowp > lowp_umat2x4
Low-precision unsigned integer 2x4 matrix.
mediump_umat4 umat4
Unsigned integer 4x4 matrix.
mediump_imat3x2 imat3x2
Signed integer 3x2 matrix.
tmat4x4< int, highp > highp_imat4
High-precision signed integer 4x4 matrix.
tmat3x4< int, highp > highp_imat3x4
High-precision signed integer 3x4 matrix.
tmat3x2< uint, highp > highp_umat3x2
High-precision unsigned integer 3x2 matrix.
tmat4x3< int, highp > highp_imat4x3
High-precision signed integer 4x3 matrix.
tmat4x3< uint, highp > highp_umat4x3
High-precision unsigned integer 4x3 matrix.
tmat4x2< uint, highp > highp_umat4x2
High-precision unsigned integer 4x2 matrix.