Flow Visualisation
number_precision.hpp
Go to the documentation of this file.
1 
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
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:61
f64 f64mat1x1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:80
f16 f16mat1x1
Half-precision floating-point scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:76
detail::uint16 u16
Definition: type_precision.hpp:225
Definition: _detail.hpp:38
f16 f16mat1
Half-precision floating-point scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:75
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:60
detail::uint8 u8
Definition: type_precision.hpp:221
detail::uint64 u64
Definition: type_precision.hpp:233
float64 f64
Definition: type_precision.hpp:343
f64 f64mat1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:79
float32 f32
Definition: type_precision.hpp:339
Definition: type_half.hpp:42
f32 f32mat1x1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:78
f16 f16vec1
Half-precision floating-point scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:68
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:63
f32 f32vec1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:69
f64 f64vec1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:70
detail::uint32 u32
Definition: type_precision.hpp:229
f32 f32mat1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:77
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:62