GLM: _literals.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

_literals.hpp
1
29 #ifndef glm_core_literals
30 #define glm_core_literals
31
32 namespace glm
33 {
34 #define GLM_CXX11_USER_LITERALS
35 #ifdef GLM_CXX11_USER_LITERALS
36 /*
37 GLM_FUNC_QUALIFIER detail::half operator "" _h(long double const s)
38 {
39 return detail::half(s);
40 }
41
42 GLM_FUNC_QUALIFIER float operator "" _f(long double const s)
43 {
44 return static_cast<float>(s);
45 }
46 */
47 #endif//GLM_CXX11_USER_LITERALS
48
49 }//namespace glm
50
51 #endif//glm_core_literals