Flow Visualisation
type_precision.hpp
Go to the documentation of this file.
1 
43 #ifndef GLM_GTC_type_precision
44 #define GLM_GTC_type_precision GLM_VERSION
45 
46 // Dependency:
47 #include "../glm.hpp"
48 #include "../gtc/half_float.hpp"
49 #include "../gtc/quaternion.hpp"
50 
51 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
52 # pragma message("GLM: GLM_GTC_type_precision extension included")
53 #endif
54 
55 namespace glm
56 {
58  // Signed int vector types
59 
62 
65  typedef detail::int8 int8;
66 
70 
74 
78 
79 
83 
87 
91 
95 
96 
99  typedef detail::int8 i8;
100 
104 
108 
112 
113 
117 
121 
125 
129 
130 
134 
138 
142 
146 
147 
151 
155 
159 
163 
164 
168 
172 
176 
180 
181 
183  // Unsigned int vector types
184 
188 
192 
196 
200 
201 
205 
209 
213 
217 
218 
221  typedef detail::uint8 u8;
222 
226 
230 
234 
235 
239 
243 
247 
251 
252 
256 
260 
264 
268 
269 
273 
277 
281 
285 
286 
290 
294 
298 
302 
303 
305  // Float vector types
306 
310 
314 
318 
319 
323 
327 
331 
332 
335  typedef float16 f16;
336 
339  typedef float32 f32;
340 
343  typedef float64 f64;
344 
345 
349 
353 
357 
361 
362 
366 
370 
374 
378 
379 
383 
387 
391 
395 
396 
400 
404 
408 
412 
413 
415  // Float matrix types
416 
419  //typedef detail::tmat1x1<f32> fmat1;
420 
424 
428 
432 
433 
436  //typedef f32 fmat1x1;
437 
441 
445 
449 
453 
457 
461 
465 
469 
473 
474 
477  //typedef detail::tmat1x1<f16> f16mat1;
478 
482 
486 
490 
491 
494  //typedef f16 f16mat1x1;
495 
499 
503 
507 
511 
515 
519 
523 
527 
531 
532 
535  //typedef detail::tmat1x1<f32> f32mat1;
536 
540 
544 
548 
549 
552  //typedef f32 f32mat1x1;
553 
557 
561 
565 
569 
573 
577 
581 
585 
589 
590 
593  //typedef detail::tmat1x1<f64> f64mat1;
594 
598 
602 
606 
607 
610  //typedef f64 f64mat1x1;
611 
615 
619 
623 
627 
631 
635 
639 
643 
647 
648 
650  // Quaternion types
651 
655 
659 
663 
665 }//namespace glm
666 
667 #include "type_precision.inl"
668 
669 #endif//GLM_GTC_type_precision
detail::tvec2< i64 > i64vec2
Definition: type_precision.hpp:171
detail::tmat4x4< f16 > f16mat4x4
Definition: type_precision.hpp:530
detail::uint8 uint8
Definition: type_precision.hpp:187
detail::tvec3< i16 > i16vec3
Definition: type_precision.hpp:141
detail::tvec1< i32 > i32vec1
Definition: type_precision.hpp:150
detail::tmat4x3< f32 > f32mat4x3
Definition: type_precision.hpp:584
unsigned long long uint64
Definition: _detail.hpp:57
detail::uint16 u16
Definition: type_precision.hpp:225
detail::tvec4< u8 > u8vec4
Definition: type_precision.hpp:250
detail::uint32 uint32
Definition: type_precision.hpp:195
detail::tmat4x4< f32 > f32mat4
Definition: type_precision.hpp:547
detail::tmat4x4< f32 > fmat4x4
Definition: type_precision.hpp:472
detail::tmat3x3< f32 > f32mat3
Definition: type_precision.hpp:543
detail::tvec4< float > fvec4
Definition: type_precision.hpp:360
detail::tvec2< u8 > u8vec2
Definition: type_precision.hpp:242
detail::tvec1< u64 > u64vec1
Definition: type_precision.hpp:289
detail::float16 float16
Definition: type_precision.hpp:309
detail::tvec4< f64 > f64vec4
Definition: type_precision.hpp:411
detail::tvec1< u32 > u32vec1
Definition: type_precision.hpp:272
detail::int64 int64_t
Definition: type_precision.hpp:94
detail::tquat< f32 > f32quat
Definition: type_precision.hpp:658
detail::tvec4< i32 > i32vec4
Definition: type_precision.hpp:162
Definition: type_mat2x2.hpp:45
Definition: type_mat2x2.hpp:48
detail::tvec1< f16 > f16vec1
Definition: type_precision.hpp:365
Definition: type_mat2x2.hpp:42
detail::tmat3x2< f16 > f16mat3x2
Definition: type_precision.hpp:510
detail::tmat3x3< f16 > f16mat3
Definition: type_precision.hpp:485
detail::tquat< f16 > f16quat
Definition: type_precision.hpp:654
detail::tmat4x2< f64 > f64mat4x2
Definition: type_precision.hpp:638
detail::tvec2< u32 > u32vec2
Definition: type_precision.hpp:276
detail::int8 int8
Definition: type_precision.hpp:65
detail::int8 i8
Definition: type_precision.hpp:99
Definition: _detail.hpp:38
signed short int16
Definition: _detail.hpp:340
detail::float64 float64_t
Definition: type_precision.hpp:330
detail::tmat3x3< f32 > f32mat3x3
Definition: type_precision.hpp:572
detail::tmat2x4< f32 > fmat2x4
Definition: type_precision.hpp:448
double float64
Definition: _detail.hpp:351
detail::tmat2x2< f32 > fmat2
Definition: type_precision.hpp:423
Definition: type_mat2x2.hpp:38
float16 f16
Definition: type_precision.hpp:335
detail::tvec4< i64 > i64vec4
Definition: type_precision.hpp:179
detail::tquat< f64 > f64quat
Definition: type_precision.hpp:662
unsigned int uint32
Definition: _detail.hpp:346
detail::tvec2< i8 > i8vec2
Definition: type_precision.hpp:120
detail::tvec2< f64 > f64vec2
Definition: type_precision.hpp:403
detail::tmat2x4< f32 > f32mat2x4
Definition: type_precision.hpp:564
detail::tvec3< i32 > i32vec3
Definition: type_precision.hpp:158
signed int int32
Definition: _detail.hpp:341
detail::uint8 u8
Definition: type_precision.hpp:221
detail::tvec3< f64 > f64vec3
Definition: type_precision.hpp:407
detail::tmat2x3< f64 > f64mat2x3
Definition: type_precision.hpp:618
detail::tvec1< i8 > i8vec1
Definition: type_precision.hpp:116
detail::float64 float64
Definition: type_precision.hpp:317
detail::uint16 uint16_t
Definition: type_precision.hpp:208
detail::tvec1< i64 > i64vec1
Definition: type_precision.hpp:167
detail::tvec4< u16 > u16vec4
Definition: type_precision.hpp:267
detail::tmat4x2< f16 > f16mat4x2
Definition: type_precision.hpp:522
detail::tmat2x2< f32 > f32mat2x2
Definition: type_precision.hpp:556
detail::float16 float16_t
Definition: type_precision.hpp:322
detail::uint64 u64
Definition: type_precision.hpp:233
unsigned short uint16
Definition: _detail.hpp:345
detail::tvec3< u32 > u32vec3
Definition: type_precision.hpp:280
detail::tvec3< i8 > i8vec3
Definition: type_precision.hpp:124
detail::tvec3< float > fvec3
Definition: type_precision.hpp:356
detail::tmat4x4< f16 > f16mat4
Definition: type_precision.hpp:489
unsigned char uint8
Definition: _detail.hpp:344
detail::uint8 uint8_t
Definition: type_precision.hpp:204
detail::tmat2x2< f16 > f16mat2
Definition: type_precision.hpp:481
detail::tmat2x3< f32 > f32mat2x3
Definition: type_precision.hpp:560
detail::tvec4< i16 > i16vec4
Definition: type_precision.hpp:145
detail::tmat2x3< f16 > f16mat2x3
Definition: type_precision.hpp:502
detail::int16 int16
Definition: type_precision.hpp:69
detail::uint16 uint16
Definition: type_precision.hpp:191
detail::tmat3x2< f32 > fmat3x2
Definition: type_precision.hpp:452
detail::int64 i64
Definition: type_precision.hpp:111
detail::tmat3x4< f16 > f16mat3x4
Definition: type_precision.hpp:518
detail::tvec1< i16 > i16vec1
Definition: type_precision.hpp:133
detail::tmat2x4< f64 > f64mat2x4
Definition: type_precision.hpp:622
detail::tmat4x4< f32 > fmat4
Definition: type_precision.hpp:431
detail::float32 float32
Definition: type_precision.hpp:313
detail::tmat3x3< f64 > f64mat3
Definition: type_precision.hpp:601
detail::tvec1< u8 > u8vec1
Definition: type_precision.hpp:238
detail::uint64 uint64_t
Definition: type_precision.hpp:216
detail::tmat3x2< f64 > f64mat3x2
Definition: type_precision.hpp:626
Definition: quaternion.hpp:56
detail::tvec4< u64 > u64vec4
Definition: type_precision.hpp:301
detail::tvec2< float > fvec2
Definition: type_precision.hpp:352
Definition: type_mat2x2.hpp:39
detail::int16 int16_t
Definition: type_precision.hpp:86
detail::tmat4x3< f64 > f64mat4x3
Definition: type_precision.hpp:642
detail::tvec2< u16 > u16vec2
Definition: type_precision.hpp:259
detail::float32 float32_t
Definition: type_precision.hpp:326
detail::tmat3x3< f64 > f64mat3x3
Definition: type_precision.hpp:630
detail::tmat3x2< f32 > f32mat3x2
Definition: type_precision.hpp:568
float64 f64
Definition: type_precision.hpp:343
detail::tmat4x4< f32 > f32mat4x4
Definition: type_precision.hpp:588
detail::tmat4x4< f64 > f64mat4
Definition: type_precision.hpp:605
float32 f32
Definition: type_precision.hpp:339
Definition: type_mat2x2.hpp:44
Definition: type_mat2x2.hpp:47
detail::tmat2x4< f16 > f16mat2x4
Definition: type_precision.hpp:506
Definition: type_mat2x2.hpp:41
detail::tvec4< f16 > f16vec4
Definition: type_precision.hpp:377
detail::tmat3x4< f32 > f32mat3x4
Definition: type_precision.hpp:576
detail::int8 int8_t
Definition: type_precision.hpp:82
detail::tmat3x3< f32 > fmat3
Definition: type_precision.hpp:427
detail::tvec4< u32 > u32vec4
Definition: type_precision.hpp:284
Definition: type_half.hpp:42
detail::int16 i16
Definition: type_precision.hpp:103
detail::sint64 int64
Definition: _detail.hpp:342
detail::uint32 uint32_t
Definition: type_precision.hpp:212
detail::tvec3< u64 > u64vec3
Definition: type_precision.hpp:297
detail::uint64 uint64
Definition: type_precision.hpp:199
float float32
Definition: _detail.hpp:350
detail::tmat2x2< f32 > fmat2x2
Definition: type_precision.hpp:440
detail::tmat4x2< f32 > f32mat4x2
Definition: type_precision.hpp:580
detail::tvec1< f64 > f64vec1
Definition: type_precision.hpp:399
detail::int32 int32_t
Definition: type_precision.hpp:90
detail::tvec3< f32 > f32vec3
Definition: type_precision.hpp:390
detail::tvec3< u8 > u8vec3
Definition: type_precision.hpp:246
detail::tvec1< f32 > f32vec1
Definition: type_precision.hpp:382
detail::int32 int32
Definition: type_precision.hpp:73
detail::tmat2x2< f64 > f64mat2x2
Definition: type_precision.hpp:614
Definition: type_mat2x2.hpp:40
detail::tmat4x3< f32 > fmat4x3
Definition: type_precision.hpp:468
detail::tvec3< i64 > i64vec3
Definition: type_precision.hpp:175
detail::tvec2< i16 > i16vec2
Definition: type_precision.hpp:137
detail::tvec1< float > fvec1
Definition: type_precision.hpp:348
detail::int32 i32
Definition: type_precision.hpp:107
detail::tvec4< f32 > f32vec4
Definition: type_precision.hpp:394
detail::tmat3x3< f32 > fmat3x3
Definition: type_precision.hpp:456
detail::tvec3< u16 > u16vec3
Definition: type_precision.hpp:263
detail::tmat4x2< f32 > fmat4x2
Definition: type_precision.hpp:464
detail::tmat2x2< f16 > f16mat2x2
Definition: type_precision.hpp:498
detail::uint32 u32
Definition: type_precision.hpp:229
detail::tmat3x4< f32 > fmat3x4
Definition: type_precision.hpp:460
signed char int8
Definition: _detail.hpp:339
detail::tmat3x4< f64 > f64mat3x4
Definition: type_precision.hpp:634
detail::tmat4x3< f16 > f16mat4x3
Definition: type_precision.hpp:526
detail::tmat3x3< f16 > f16mat3x3
Definition: type_precision.hpp:514
detail::tmat2x3< f32 > fmat2x3
Definition: type_precision.hpp:444
detail::tvec2< f32 > f32vec2
Definition: type_precision.hpp:386
Definition: type_mat2x2.hpp:46
Definition: type_mat2x2.hpp:49
detail::tvec2< u64 > u64vec2
Definition: type_precision.hpp:293
Definition: type_mat2x2.hpp:43
detail::tvec1< u16 > u16vec1
Definition: type_precision.hpp:255
detail::int64 int64
Definition: type_precision.hpp:77
detail::tvec2< i32 > i32vec2
Definition: type_precision.hpp:154
detail::tmat2x2< f64 > f64mat2
Definition: type_precision.hpp:597
detail::tmat2x2< f32 > f32mat2
Definition: type_precision.hpp:539
detail::tmat4x4< f64 > f64mat4x4
Definition: type_precision.hpp:646
Definition: type_mat2x2.hpp:37
detail::tvec2< f16 > f16vec2
Definition: type_precision.hpp:369
detail::tvec3< f16 > f16vec3
Definition: type_precision.hpp:373
detail::tvec4< i8 > i8vec4
Definition: type_precision.hpp:128