21 #include "../gtc/type_precision.hpp" 22 #include "../gtc/quaternion.hpp" 23 #include "../gtx/dual_quaternion.hpp" 27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 28 # ifndef GLM_ENABLE_EXPERIMENTAL 29 # pragma message("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.") 31 # pragma message("GLM: GLM_GTX_string_cast extension included") 35 #if(GLM_COMPILER & GLM_COMPILER_CUDA) 36 # error "GLM_GTX_string_cast is not supported on CUDA compiler" 46 template<
typename genType>
47 GLM_FUNC_DECL std::string
to_string(genType
const& x);
52 #include "string_cast.inl" Core features
Definition: common.hpp:20
GLM_FUNC_DECL std::string to_string(genType const &x)
Create a string from a GLM vector or matrix typed variable.