GLM  0.9.5
string_cast.hpp
Go to the documentation of this file.
1 
41 #ifndef GLM_GTX_string_cast
42 #define GLM_GTX_string_cast
43 
44 // Dependency:
45 #include "../glm.hpp"
46 #include "../gtx/integer.hpp"
47 #include "../gtx/quaternion.hpp"
48 #include <string>
49 
50 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
51 # pragma message("GLM: GLM_GTX_string_cast extension included")
52 #endif
53 
54 namespace glm
55 {
58 
61  template <typename genType>
62  std::string to_string(genType const & x);
63 
65 }//namespace glm
66 
67 #include "string_cast.inl"
68 
69 #endif//GLM_GTX_string_cast
std::string to_string(genType const &x)
Create a string from a GLM type value.