| 0.9.9 API documenation

scalar_constants.hpp
Go to the documentation of this file.
1
11 #pragma once
12
13 // Dependencies
14 #include "../detail/setup.hpp"
15
16 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
17 # pragma message("GLM: GLM_EXT_scalar_constants extension included")
18 #endif
19
20 namespace glm
21 {
24
26 template<typename genType>
27 GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
28
30 template<typename genType>
31 GLM_FUNC_DECL GLM_CONSTEXPR genType pi();
32
34 } //namespace glm
35
36 #include "scalar_constants.inl"
glm::pi
GLM_FUNC_DECL GLM_CONSTEXPR genType pi()
Return the pi constant for floating point types.
glm::epsilon
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
glm
Definition: common.hpp:20