- Main Page
- Related Pages
- Modules
- Files

- File List

number_precision.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
38
39
40 #ifndef GLM_GTX_number_precision
41 #define GLM_GTX_number_precision GLM_VERSION
42
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../gtc/type_precision.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
48 # pragma message("GLM: GLM_GTX_number_precision extension included")
49 #endif
50
51 namespace glm{
52 namespace gtx
53 {
55 // Unsigned int vector types
56
59
60 typedef u8 u8vec1;
61 typedef u16 u16vec1;
62 typedef u32 u32vec1;
63 typedef u64 u64vec1;
64
66 // Float vector types
67
68 typedef f16 f16vec1;
69 typedef f32 f32vec1;
70 typedef f64 f64vec1;
71
73 // Float matrix types
74
75 typedef f16 f16mat1;
76 typedef f16 f16mat1x1;
77 typedef f32 f32mat1;
78 typedef f32 f32mat1x1;
79 typedef f64 f64mat1;
80 typedef f64 f64mat1x1;
81
83 }//namespace gtx
84 }//namespace glm
85
86 #include "number_precision.inl"
87
88 #endif//GLM_GTX_number_precision