| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | #pragma once |
| 16 | |
| 17 | |
| 18 | #include "../glm.hpp" |
| 19 | #include "../gtc/type_precision.hpp" |
| 20 | #include "../gtc/quaternion.hpp" |
| 21 | #include "../gtx/dual_quaternion.hpp" |
| 22 | #include <string> |
| 23 | #include <cmath> |
| 24 | #include <cstring> |
| 25 | |
| 26 | #ifndef GLM_ENABLE_EXPERIMENTAL |
| 27 | # error "GLM: GLM_GTX_string_cast is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." |
| 28 | #elif GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) |
| 29 | # pragma message("GLM: GLM_GTX_string_cast extension included") |
| 30 | #endif |
| 31 | |
| 32 | namespace glm |
| 33 | { |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | template<typename genType> |
| 40 | GLM_FUNC_DECL std::string to_string(genType const& x); |
| 41 | |
| 42 | |
| 43 | } |
| 44 | |
| 45 | #include "string_cast.inl" |