PSMoveService
glm.hpp
Go to the documentation of this file.
1 
78 #include "core/_fixes.hpp"
79 
80 #ifndef glm_glm
81 #define glm_glm
82 
83 #include <cmath>
84 #include <climits>
85 #include <cfloat>
86 #include <limits>
87 #include <cstdio>
88 //#include <type_traits>
89 #include "core/setup.hpp"
90 
91 #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_CORE_INCLUDED_DISPLAYED))
92 # define GLM_MESSAGE_CORE_INCLUDED_DISPLAYED
93 # pragma message("GLM: Core library included")
94 #endif//GLM_MESSAGE
95 
96 #include "./core/_detail.hpp"
97 #include "./core/type.hpp"
98 
101 #include "./core/func_common.hpp"
102 #include "./core/func_packing.hpp"
103 #include "./core/func_geometric.hpp"
104 #include "./core/func_matrix.hpp"
106 #include "./core/func_integer.hpp"
107 #include "./core/func_noise.hpp"
108 #include "./core/_swizzle.hpp"
109 
111 // check type sizes
112 #ifndef GLM_STATIC_ASSERT_NULL
113  GLM_STATIC_ASSERT(sizeof(glm::detail::int8) == 1, "int8 size isn't 1 byte on this platform");
114  GLM_STATIC_ASSERT(sizeof(glm::detail::int16) == 2, "int16 size isn't 2 bytes on this platform");
115  GLM_STATIC_ASSERT(sizeof(glm::detail::int32) == 4, "int32 size isn't 4 bytes on this platform");
116  GLM_STATIC_ASSERT(sizeof(glm::detail::int64) == 8, "int64 size isn't 8 bytes on this platform");
117 
118  GLM_STATIC_ASSERT(sizeof(glm::detail::uint8) == 1, "uint8 size isn't 1 byte on this platform");
119  GLM_STATIC_ASSERT(sizeof(glm::detail::uint16) == 2, "uint16 size isn't 2 bytes on this platform");
120  GLM_STATIC_ASSERT(sizeof(glm::detail::uint32) == 4, "uint32 size isn't 4 bytes on this platform");
121  GLM_STATIC_ASSERT(sizeof(glm::detail::uint64) == 8, "uint64 size isn't 8 bytes on this platform");
122 
123  GLM_STATIC_ASSERT(sizeof(glm::detail::float16) == 2, "float16 size isn't 2 bytes on this platform");
124  GLM_STATIC_ASSERT(sizeof(glm::detail::float32) == 4, "float32 size isn't 4 bytes on this platform");
125  GLM_STATIC_ASSERT(sizeof(glm::detail::float64) == 8, "float64 size isn't 8 bytes on this platform");
126 #endif//GLM_STATIC_ASSERT_NULL
127 
128 #endif//glm_glm
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
16-bit floating point type.
Definition: type_half.hpp:44
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)