type_mat.hpp
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include "precision.hpp"
32 
33 namespace glm{
34 namespace detail
35 {
36  template <typename T, precision P> struct tvec2;
37  template <typename T, precision P> struct tvec3;
38  template <typename T, precision P> struct tvec4;
39  template <typename T, precision P> struct tmat2x2;
40  template <typename T, precision P> struct tmat2x3;
41  template <typename T, precision P> struct tmat2x4;
42  template <typename T, precision P> struct tmat3x2;
43  template <typename T, precision P> struct tmat3x3;
44  template <typename T, precision P> struct tmat3x4;
45  template <typename T, precision P> struct tmat4x2;
46  template <typename T, precision P> struct tmat4x3;
47  template <typename T, precision P> struct tmat4x4;
48 
49  template <typename T, precision P, template <class, precision> class colType, template <class, precision> class rowType>
51 
52  template <template <class, precision> class matType, typename T, precision P>
53  struct compute_inverse{};
54 }//namespace detail
55 
58 
65 
72 
79 
86 
93 
100 
102 
105 
112 
119 
126 
128 
131 
138 
145 
152 
154 
157 
164 
171 
178 
180 
183 
190 
197 
204 
211 
218 
225 
227 
230 
237 
244 
251 
253 
256 
263 
270 
277 
279 
282 
289 
296 
303 
305 
306 
309 
316 
323 
330 
337 
344 
351 
353 
356 
358  // Float definition
359 
360 #if(defined(GLM_PRECISION_LOWP_FLOAT))
361  typedef lowp_mat2x2 mat2x2;
362  typedef lowp_mat2x3 mat2x3;
363  typedef lowp_mat2x4 mat2x4;
364  typedef lowp_mat3x2 mat3x2;
365  typedef lowp_mat3x3 mat3x3;
366  typedef lowp_mat3x4 mat3x4;
367  typedef lowp_mat4x2 mat4x2;
368  typedef lowp_mat4x3 mat4x3;
369  typedef lowp_mat4x4 mat4x4;
370 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
371  typedef mediump_mat2x2 mat2x2;
372  typedef mediump_mat2x3 mat2x3;
373  typedef mediump_mat2x4 mat2x4;
374  typedef mediump_mat3x2 mat3x2;
375  typedef mediump_mat3x3 mat3x3;
376  typedef mediump_mat3x4 mat3x4;
377  typedef mediump_mat4x2 mat4x2;
378  typedef mediump_mat4x3 mat4x3;
379  typedef mediump_mat4x4 mat4x4;
380 #else
381  typedef highp_mat2x2 mat2x2;
385 
389  typedef highp_mat2x3 mat2x3;
390 
394  typedef highp_mat2x4 mat2x4;
395 
399  typedef highp_mat3x2 mat3x2;
400 
404  typedef highp_mat3x3 mat3x3;
405 
409  typedef highp_mat3x4 mat3x4;
410 
414  typedef highp_mat4x2 mat4x2;
415 
419  typedef highp_mat4x3 mat4x3;
420 
424  typedef highp_mat4x4 mat4x4;
425 
426 #endif//GLM_PRECISION
427 
431  typedef mat2x2 mat2;
432 
436  typedef mat3x3 mat3;
437 
441  typedef mat4x4 mat4;
442 
444  // Double definition
445 
448 
454 
460 
466 
472 
478 
484 
486 
489 
495 
501 
507 
509 
512 
518 
524 
530 
532 
535 
541 
547 
553 
555 
558 
564 
570 
576 
582 
588 
594 
596 
599 
605 
611 
617 
619 
622 
628 
634 
640 
642 
645 
651 
657 
663 
665 
668 
674 
680 
686 
692 
698 
704 
706 
707 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
708  typedef lowp_dmat2x2 dmat2x2;
709  typedef lowp_dmat2x3 dmat2x3;
710  typedef lowp_dmat2x4 dmat2x4;
711  typedef lowp_dmat3x2 dmat3x2;
712  typedef lowp_dmat3x3 dmat3x3;
713  typedef lowp_dmat3x4 dmat3x4;
714  typedef lowp_dmat4x2 dmat4x2;
715  typedef lowp_dmat4x3 dmat4x3;
716  typedef lowp_dmat4x4 dmat4x4;
717 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
718  typedef mediump_dmat2x2 dmat2x2;
719  typedef mediump_dmat2x3 dmat2x3;
720  typedef mediump_dmat2x4 dmat2x4;
721  typedef mediump_dmat3x2 dmat3x2;
722  typedef mediump_dmat3x3 dmat3x3;
723  typedef mediump_dmat3x4 dmat3x4;
724  typedef mediump_dmat4x2 dmat4x2;
725  typedef mediump_dmat4x3 dmat4x3;
726  typedef mediump_dmat4x4 dmat4x4;
727 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
728 
732  typedef highp_dmat2x2 dmat2;
733 
737  typedef highp_dmat3x3 dmat3;
738 
742  typedef highp_dmat4x4 dmat4;
743 
747  typedef highp_dmat2x2 dmat2x2;
748 
752  typedef highp_dmat2x3 dmat2x3;
753 
757  typedef highp_dmat2x4 dmat2x4;
758 
762  typedef highp_dmat3x2 dmat3x2;
763 
767  typedef highp_dmat3x3 dmat3x3;
768 
772  typedef highp_dmat3x4 dmat3x4;
773 
777  typedef highp_dmat4x2 dmat4x2;
778 
782  typedef highp_dmat4x3 dmat4x3;
783 
787  typedef highp_dmat4x4 dmat4x4;
788 
789 #endif//GLM_PRECISION
790 
792 }//namespace glm
detail::tmat2x4< double, highp > highp_dmat2x4
Definition: type_mat.hpp:529
highp_mat2x3 mat2x3
Definition: type_mat.hpp:389
highp_dmat4x4 dmat4
Definition: type_mat.hpp:742
detail::tmat3x4< float, mediump > mediump_mat3x4
Definition: type_mat.hpp:243
detail::tmat4x2< double, lowp > lowp_dmat4x2
Definition: type_mat.hpp:627
detail::tmat2x2< double, highp > highp_dmat2
Definition: type_mat.hpp:465
highp_dmat3x2 dmat3x2
Definition: type_mat.hpp:762
detail::tmat4x3< double, lowp > lowp_dmat4x3
Definition: type_mat.hpp:650
detail::tmat4x4< float, mediump > mediump_mat4
Definition: type_mat.hpp:322
detail::tmat4x3< float, highp > highp_mat4x3
Definition: type_mat.hpp:302
detail::tmat3x3< float, mediump > mediump_mat3x3
Definition: type_mat.hpp:217
detail::tmat3x4< double, mediump > mediump_dmat3x4
Definition: type_mat.hpp:610
detail::tmat4x4< double, mediump > mediump_dmat4
Definition: type_mat.hpp:679
detail::tmat3x4< double, lowp > lowp_dmat3x4
Definition: type_mat.hpp:604
detail::tmat3x3< float, highp > highp_mat3x3
Definition: type_mat.hpp:224
detail::tmat2x4< float, lowp > lowp_mat2x4
Definition: type_mat.hpp:137
detail::tmat3x2< double, mediump > mediump_dmat3x2
Definition: type_mat.hpp:546
detail::tmat3x3< double, highp > highp_dmat3x3
Definition: type_mat.hpp:593
detail::tmat4x3< float, mediump > mediump_mat4x3
Definition: type_mat.hpp:295
detail::tmat3x2< double, lowp > lowp_dmat3x2
Definition: type_mat.hpp:540
detail::tmat4x3< double, mediump > mediump_dmat4x3
Definition: type_mat.hpp:656
detail::tmat4x2< double, highp > highp_dmat4x2
Definition: type_mat.hpp:639
detail::tmat4x3< double, highp > highp_dmat4x3
Definition: type_mat.hpp:662
detail::tmat3x4< float, highp > highp_mat3x4
Definition: type_mat.hpp:250
detail::tmat3x3< float, highp > highp_mat3
Definition: type_mat.hpp:203
highp_dmat2x2 dmat2
Definition: type_mat.hpp:732
highp_mat4x4 mat4x4
Definition: type_mat.hpp:424
highp_dmat4x3 dmat4x3
Definition: type_mat.hpp:782
detail::tmat2x4< float, mediump > mediump_mat2x4
Definition: type_mat.hpp:144
detail::tmat4x2< float, lowp > lowp_mat4x2
Definition: type_mat.hpp:262
detail::tmat2x3< double, mediump > mediump_dmat2x3
Definition: type_mat.hpp:500
detail::tmat3x2< float, highp > highp_mat3x2
Definition: type_mat.hpp:177
detail::tmat2x2< double, lowp > lowp_dmat2
Definition: type_mat.hpp:453
detail::tmat2x2< float, lowp > lowp_mat2
Definition: type_mat.hpp:64
highp_mat4x3 mat4x3
Definition: type_mat.hpp:419
detail::tmat2x2< float, mediump > mediump_mat2x2
Definition: type_mat.hpp:92
highp_mat2x2 mat2x2
Definition: type_mat.hpp:384
detail::tmat2x3< double, highp > highp_dmat2x3
Definition: type_mat.hpp:506
detail::tmat3x4< double, highp > highp_dmat3x4
Definition: type_mat.hpp:616
highp_dmat2x4 dmat2x4
Definition: type_mat.hpp:757
detail::tmat2x2< double, highp > highp_dmat2x2
Definition: type_mat.hpp:483
highp_dmat3x3 dmat3x3
Definition: type_mat.hpp:767
detail::tmat4x4< double, mediump > mediump_dmat4x4
Definition: type_mat.hpp:697
detail::tmat4x3< float, lowp > lowp_mat4x3
Definition: type_mat.hpp:288
detail::tmat4x4< double, highp > highp_dmat4
Definition: type_mat.hpp:685
detail::tmat2x3< double, lowp > lowp_dmat2x3
Definition: type_mat.hpp:494
highp_dmat3x3 dmat3
Definition: type_mat.hpp:737
detail::tmat2x2< float, highp > highp_mat2
Definition: type_mat.hpp:78
highp_dmat4x2 dmat4x2
Definition: type_mat.hpp:777
detail::tmat4x2< float, mediump > mediump_mat4x2
Definition: type_mat.hpp:269
detail::tmat2x4< float, highp > highp_mat2x4
Definition: type_mat.hpp:151
detail::tmat3x3< double, mediump > mediump_dmat3x3
Definition: type_mat.hpp:587
detail::tmat2x3< float, mediump > mediump_mat2x3
Definition: type_mat.hpp:118
highp_mat3x3 mat3x3
Definition: type_mat.hpp:404
highp_mat3x4 mat3x4
Definition: type_mat.hpp:409
detail::tmat2x2< float, mediump > mediump_mat2
Definition: type_mat.hpp:71
detail::tmat3x3< double, highp > highp_dmat3
Definition: type_mat.hpp:575
detail::tmat2x4< double, lowp > lowp_dmat2x4
Definition: type_mat.hpp:517
detail::tmat3x4< float, lowp > lowp_mat3x4
Definition: type_mat.hpp:236
detail::tmat4x2< double, mediump > mediump_dmat4x2
Definition: type_mat.hpp:633
detail::tmat2x4< double, mediump > mediump_dmat2x4
Definition: type_mat.hpp:523
highp_dmat2x2 dmat2x2
Definition: type_mat.hpp:747
precision
Definition: precision.hpp:33
detail::tmat4x2< float, highp > highp_mat4x2
Definition: type_mat.hpp:276
detail::tmat2x2< double, mediump > mediump_dmat2
Definition: type_mat.hpp:459
detail::tmat3x3< double, lowp > lowp_dmat3x3
Definition: type_mat.hpp:581
detail::tmat3x2< double, highp > highp_dmat3x2
Definition: type_mat.hpp:552
detail::tmat3x3< float, mediump > mediump_mat3
Definition: type_mat.hpp:196
mat2x2 mat2
Definition: type_mat.hpp:431
detail::tmat3x2< float, mediump > mediump_mat3x2
Definition: type_mat.hpp:170
detail::tmat3x3< float, lowp > lowp_mat3x3
Definition: type_mat.hpp:210
detail::tmat2x2< double, lowp > lowp_dmat2x2
Definition: type_mat.hpp:471
mat4x4 mat4
Definition: type_mat.hpp:441
detail::tmat2x2< float, highp > highp_mat2x2
Definition: type_mat.hpp:99
detail::tmat3x3< float, lowp > lowp_mat3
Definition: type_mat.hpp:189
detail::tmat3x3< double, mediump > mediump_dmat3
Definition: type_mat.hpp:569
detail::tmat4x4< float, lowp > lowp_mat4
Definition: type_mat.hpp:315
mat3x3 mat3
Definition: type_mat.hpp:436
highp_dmat4x4 dmat4x4
Definition: type_mat.hpp:787
detail::tmat4x4< float, lowp > lowp_mat4x4
Definition: type_mat.hpp:336
detail::tmat2x3< float, lowp > lowp_mat2x3
Definition: type_mat.hpp:111
detail::tmat2x2< float, lowp > lowp_mat2x2
Definition: type_mat.hpp:85
detail::tmat4x4< float, highp > highp_mat4
Definition: type_mat.hpp:329
detail::tmat4x4< float, mediump > mediump_mat4x4
Definition: type_mat.hpp:343
highp_mat4x2 mat4x2
Definition: type_mat.hpp:414
highp_mat2x4 mat2x4
Definition: type_mat.hpp:394
detail::tmat2x2< double, mediump > mediump_dmat2x2
Definition: type_mat.hpp:477
detail::tmat3x2< float, lowp > lowp_mat3x2
Definition: type_mat.hpp:163
detail::tmat2x3< float, highp > highp_mat2x3
Definition: type_mat.hpp:125
detail::tmat4x4< double, lowp > lowp_dmat4x4
Definition: type_mat.hpp:691
highp_dmat2x3 dmat2x3
Definition: type_mat.hpp:752
highp_mat3x2 mat3x2
Definition: type_mat.hpp:399
detail::tmat3x3< float, lowp > lowp_dmat3
Definition: type_mat.hpp:563
detail::tmat4x4< float, highp > highp_mat4x4
Definition: type_mat.hpp:350
detail::tmat4x4< double, highp > highp_dmat4x4
Definition: type_mat.hpp:703
detail::tmat4x4< double, lowp > lowp_dmat4
Definition: type_mat.hpp:673
highp_dmat3x4 dmat3x4
Definition: type_mat.hpp:772


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:06