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
42
#pragma once
43
44
// Dependency:
45
#include "../glm.hpp"
46
#include "../gtc/type_precision.hpp"
47
#include <string>
48
49
#if(GLM_COMPILER & GLM_COMPILER_CUDA)
50
# error "GLM_GTX_string_cast is not supported on CUDA compiler"
51
#endif
52
53
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
54
# pragma message("GLM: GLM_GTX_string_cast extension included")
55
#endif
56
57
namespace
glm
58
{
61
64
template
<
template
<
typename
, precision>
class
matType,
typename
T, precision P>
65
GLM_FUNC_DECL std::string
to_string
(matType<T, P>
const
& x);
66
68
}
//namespace glm
69
70
#include "string_cast.inl"
glm
Definition:
_noise.hpp:31
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.
Generated by
1.8.8