| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

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 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_number_precision is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
23 #endif
24
25 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_number_precision extension included")
27 #endif
28
29 namespace glm{
30 namespace gtx
31 {
33 // Unsigned int vector types
34
37
38 typedef u8 u8vec1;
39 typedef u16 u16vec1;
40 typedef u32 u32vec1;
41 typedef u64 u64vec1;
42
44 // Float vector types
45
46 typedef f32 f32vec1;
47 typedef f64 f64vec1;
48
50 // Float matrix types
51
52 typedef f32 f32mat1;
53 typedef f32 f32mat1x1;
54 typedef f64 f64mat1;
55 typedef f64 f64mat1x1;
56
58 }//namespace gtx
59 }//namespace glm
60
61 #include "number_precision.inl"
glm::gtx::f64mat1
f64 f64mat1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:54
glm::gtx::u16vec1
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:39
glm::f32
highp_float32_t f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1507
glm::gtx::u64vec1
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:41
glm::gtx::f32mat1x1
f32 f32mat1x1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:53
glm
Definition: common.hpp:20
glm::gtx::u32vec1
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:40
glm::u32
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:904
glm::u64
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:908
glm::gtx::f32mat1
f32 f32mat1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:52
glm::gtx::f32vec1
f32 f32vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:46
glm::gtx::u8vec1
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
Definition: number_precision.hpp:38
glm::gtx::f64vec1
f64 f64vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:47
glm::gtx::f64mat1x1
f64 f64mat1x1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
Definition: number_precision.hpp:55
glm::u16
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:900
glm::f64
highp_float64_t f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1511
glm::u8
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:896