Flow Visualisation
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/_vectorize.hpp"
98 #include "./core/type.hpp"
99 
102 #include "./core/func_common.hpp"
103 #include "./core/func_packing.hpp"
104 #include "./core/func_geometric.hpp"
105 #include "./core/func_matrix.hpp"
107 #include "./core/func_integer.hpp"
108 #include "./core/func_noise.hpp"
109 #include "./core/_swizzle.hpp"
110 
112 // check type sizes
113 #ifndef GLM_STATIC_ASSERT_NULL
114  GLM_STATIC_ASSERT(sizeof(glm::detail::int8) == 1, "int8 size isn't 1 byte on this platform");
115  GLM_STATIC_ASSERT(sizeof(glm::detail::int16) == 2, "int16 size isn't 2 bytes on this platform");
116  GLM_STATIC_ASSERT(sizeof(glm::detail::int32) == 4, "int32 size isn't 4 bytes on this platform");
117  GLM_STATIC_ASSERT(sizeof(glm::detail::int64) == 8, "int64 size isn't 8 bytes on this platform");
118 
119  GLM_STATIC_ASSERT(sizeof(glm::detail::uint8) == 1, "uint8 size isn't 1 byte on this platform");
120  GLM_STATIC_ASSERT(sizeof(glm::detail::uint16) == 2, "uint16 size isn't 2 bytes on this platform");
121  GLM_STATIC_ASSERT(sizeof(glm::detail::uint32) == 4, "uint32 size isn't 4 bytes on this platform");
122  GLM_STATIC_ASSERT(sizeof(glm::detail::uint64) == 8, "uint64 size isn't 8 bytes on this platform");
123 
124  GLM_STATIC_ASSERT(sizeof(glm::detail::float16) == 2, "float16 size isn't 2 bytes on this platform");
125  GLM_STATIC_ASSERT(sizeof(glm::detail::float32) == 4, "float32 size isn't 4 bytes on this platform");
126  GLM_STATIC_ASSERT(sizeof(glm::detail::float64) == 8, "float64 size isn't 8 bytes on this platform");
127 #endif//GLM_STATIC_ASSERT_NULL
128 
129 #endif//glm_glm
unsigned long long uint64
Definition: _detail.hpp:57
signed short int16
Definition: _detail.hpp:340
double float64
Definition: _detail.hpp:351
#define GLM_STATIC_ASSERT(x, message)
Definition: setup.hpp:641
unsigned int uint32
Definition: _detail.hpp:346
signed int int32
Definition: _detail.hpp:341
unsigned short uint16
Definition: _detail.hpp:345
unsigned char uint8
Definition: _detail.hpp:344
Definition: type_half.hpp:42
detail::sint64 int64
Definition: _detail.hpp:342
float float32
Definition: _detail.hpp:350
signed char int8
Definition: _detail.hpp:339