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
00079
00080
00081
00082
00083
00084 #include "core/_fixes.hpp"
00085
00086 #ifndef glm_glm
00087 #define glm_glm
00088
00089 #include <cmath>
00090 #include <climits>
00091 #include <cfloat>
00092 #include <limits>
00093 #include "core/setup.hpp"
00094
00095 #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_CORE_INCLUDED_DISPLAYED))
00096 # define GLM_MESSAGE_CORE_INCLUDED_DISPLAYED
00097 # pragma message("GLM: Core library included")
00098 #endif//GLM_MESSAGE
00099
00100 #include "./core/_detail.hpp"
00101 #include "./core/type.hpp"
00102
00103 #include "./core/func_trigonometric.hpp"
00104 #include "./core/func_exponential.hpp"
00105 #include "./core/func_common.hpp"
00106 #include "./core/func_packing.hpp"
00107 #include "./core/func_geometric.hpp"
00108 #include "./core/func_matrix.hpp"
00109 #include "./core/func_vector_relational.hpp"
00110 #include "./core/func_integer.hpp"
00111 #include "./core/func_noise.hpp"
00112 #include "./core/_swizzle.hpp"
00113
00115
00116 #ifndef GLM_STATIC_ASSERT_NULL
00117 GLM_STATIC_ASSERT(sizeof(glm::detail::int8) == 1, "int8 size isn't 1 byte on this platform");
00118 GLM_STATIC_ASSERT(sizeof(glm::detail::int16) == 2, "int16 size isn't 2 bytes on this platform");
00119 GLM_STATIC_ASSERT(sizeof(glm::detail::int32) == 4, "int32 size isn't 4 bytes on this platform");
00120 GLM_STATIC_ASSERT(sizeof(glm::detail::int64) == 8, "int64 size isn't 8 bytes on this platform");
00121
00122 GLM_STATIC_ASSERT(sizeof(glm::detail::uint8) == 1, "uint8 size isn't 1 byte on this platform");
00123 GLM_STATIC_ASSERT(sizeof(glm::detail::uint16) == 2, "uint16 size isn't 2 bytes on this platform");
00124 GLM_STATIC_ASSERT(sizeof(glm::detail::uint32) == 4, "uint32 size isn't 4 bytes on this platform");
00125 GLM_STATIC_ASSERT(sizeof(glm::detail::uint64) == 8, "uint64 size isn't 8 bytes on this platform");
00126
00127 GLM_STATIC_ASSERT(sizeof(glm::detail::float16) == 2, "float16 size isn't 2 bytes on this platform");
00128 GLM_STATIC_ASSERT(sizeof(glm::detail::float32) == 4, "float32 size isn't 4 bytes on this platform");
00129 GLM_STATIC_ASSERT(sizeof(glm::detail::float64) == 8, "float64 size isn't 8 bytes on this platform");
00130 #endif//GLM_STATIC_ASSERT_NULL
00131
00132 #endif//glm_glm