0.9.8
number_precision.hpp
Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../glm.hpp"
19 #include "../gtc/type_precision.hpp"
20 
21 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTX_number_precision extension included")
23 #endif
24 
25 namespace glm{
26 namespace gtx
27 {
29  // Unsigned int vector types
30 
33 
34  typedef u8 u8vec1;
35  typedef u16 u16vec1;
36  typedef u32 u32vec1;
37  typedef u64 u64vec1;
38 
40  // Float vector types
41 
42  typedef f32 f32vec1;
43  typedef f64 f64vec1;
44 
46  // Float matrix types
47 
48  typedef f32 f32mat1;
49  typedef f32 f32mat1x1;
50  typedef f64 f64mat1;
51  typedef f64 f64mat1x1;
52 
54 }//namespace gtx
55 }//namespace glm
56 
57 #include "number_precision.inl"
highp_float64_t f64
Default 64 bit double-precision floating-point scalar.
Definition: fwd.hpp:1509
f32 f32mat1x1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
f32 f32mat1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:902
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
f64 f64mat1x1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:898
Definition: _noise.hpp:11
f64 f64vec1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
f32 f32vec1
Single-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
f64 f64mat1
Double-precision floating-point scalar. (from GLM_GTX_number_precision extension) ...
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:894
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:906
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
highp_float32_t f32
Default 32 bit single-precision floating-point scalar.
Definition: fwd.hpp:1505