Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078 #include "core/_fixes.hpp"
00079
00080 #ifndef glm_glm
00081 #define glm_glm
00082
00083 #include <cmath>
00084 #include <climits>
00085 #include <cfloat>
00086 #include <limits>
00087 #include <cstdio>
00088
00089 #include "core/setup.hpp"
00090
00091 #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_CORE_INCLUDED_DISPLAYED))
00092 # define GLM_MESSAGE_CORE_INCLUDED_DISPLAYED
00093 # pragma message("GLM: Core library included")
00094 #endif//GLM_MESSAGE
00095
00096 #include "./core/_detail.hpp"
00097 #include "./core/type.hpp"
00098
00099 #include "./core/func_trigonometric.hpp"
00100 #include "./core/func_exponential.hpp"
00101 #include "./core/func_common.hpp"
00102 #include "./core/func_packing.hpp"
00103 #include "./core/func_geometric.hpp"
00104 #include "./core/func_matrix.hpp"
00105 #include "./core/func_vector_relational.hpp"
00106 #include "./core/func_integer.hpp"
00107 #include "./core/func_noise.hpp"
00108 #include "./core/_swizzle.hpp"
00109
00111
00112 #ifndef GLM_STATIC_ASSERT_NULL
00113 GLM_STATIC_ASSERT(sizeof(glm::detail::int8) == 1, "int8 size isn't 1 byte on this platform");
00114 GLM_STATIC_ASSERT(sizeof(glm::detail::int16) == 2, "int16 size isn't 2 bytes on this platform");
00115 GLM_STATIC_ASSERT(sizeof(glm::detail::int32) == 4, "int32 size isn't 4 bytes on this platform");
00116 GLM_STATIC_ASSERT(sizeof(glm::detail::int64) == 8, "int64 size isn't 8 bytes on this platform");
00117
00118 GLM_STATIC_ASSERT(sizeof(glm::detail::uint8) == 1, "uint8 size isn't 1 byte on this platform");
00119 GLM_STATIC_ASSERT(sizeof(glm::detail::uint16) == 2, "uint16 size isn't 2 bytes on this platform");
00120 GLM_STATIC_ASSERT(sizeof(glm::detail::uint32) == 4, "uint32 size isn't 4 bytes on this platform");
00121 GLM_STATIC_ASSERT(sizeof(glm::detail::uint64) == 8, "uint64 size isn't 8 bytes on this platform");
00122
00123 GLM_STATIC_ASSERT(sizeof(glm::detail::float16) == 2, "float16 size isn't 2 bytes on this platform");
00124 GLM_STATIC_ASSERT(sizeof(glm::detail::float32) == 4, "float32 size isn't 4 bytes on this platform");
00125 GLM_STATIC_ASSERT(sizeof(glm::detail::float64) == 8, "float64 size isn't 8 bytes on this platform");
00126 #endif//GLM_STATIC_ASSERT_NULL
00127
00128 #endif//glm_glm