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