GLM  0.9.5
number_precision.hpp
Go to the documentation of this file.
1 
40 #ifndef GLM_GTX_number_precision
41 #define GLM_GTX_number_precision
42 
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../gtc/type_precision.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
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 f32 f32vec1;
69  typedef f64 f64vec1;
70 
72  // Float matrix types
73 
74  typedef f32 f32mat1;
75  typedef f32 f32mat1x1;
76  typedef f64 f64mat1;
77  typedef f64 f64mat1x1;
78 
80 }//namespace gtx
81 }//namespace glm
82 
83 #include "number_precision.inl"
84 
85 #endif//GLM_GTX_number_precision
highp_u16vec1 u16vec1
Default precision 16 bit unsigned integer scalar type.
Definition: fwd.hpp:1071
highp_u64vec1 u64vec1
Default precision 64 bit unsigned integer scalar type.
Definition: fwd.hpp:1309
highp_float32_t f32
Default 32 bit single-precision floating-point scalar.
Definition: fwd.hpp:1523
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:911
f32 f32mat1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
highp_f64vec1 f64vec1
Default double-precision floating-point vector of 1 components.
Definition: fwd.hpp:2530
f64 f64mat1x1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
f64 f64mat1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:923
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:919
highp_f32vec1 f32vec1
Default single-precision floating-point vector of 1 components.
Definition: fwd.hpp:2423
highp_u8vec1 u8vec1
Default precision 8 bit unsigned integer scalar type.
Definition: fwd.hpp:991
highp_float64_t f64
Default 64 bit double-precision floating-point scalar.
Definition: fwd.hpp:1527
highp_u32vec1 u32vec1
Default precision 32 bit unsigned integer scalar type.
Definition: fwd.hpp:1150
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:915
f32 f32mat1x1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...