0.9.6
Main Page
Modules
Files
File List
E:
Source
G-Truc
glm
glm
gtx
string_cast.hpp
Go to the documentation of this file.
1
46
#pragma once
47
48
// Dependency:
49
#include "../glm.hpp"
50
#include "../gtc/type_precision.hpp"
51
#include <string>
52
53
#if(GLM_COMPILER & GLM_COMPILER_CUDA)
54
# error "GLM_GTX_string_cast is not supported on CUDA compiler"
55
#endif
56
57
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
58
# pragma message("GLM: GLM_GTX_string_cast extension included")
59
#endif
60
61
namespace
glm
62
{
65
68
template
<
template
<
typename
, precision>
class
matType,
typename
T, precision P>
69
GLM_FUNC_DECL std::string
to_string
(matType<T, P>
const
& x);
70
72
}
//namespace glm
73
74
#include "string_cast.inl"
glm::to_string
GLM_FUNC_DECL std::string to_string(matType< T, P > const &x)
Create a string from a GLM vector or matrix typed variable.
glm
Definition:
_noise.hpp:39
Generated by
1.8.8