14 #include "../detail/setup.hpp" 16 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 17 # pragma message("GLM: GLM_EXT_scalar_constants extension included") 26 template<
typename genType>
27 GLM_FUNC_DECL GLM_CONSTEXPR genType
epsilon();
30 template<
typename genType>
31 GLM_FUNC_DECL GLM_CONSTEXPR genType
pi();
34 template<
typename genType>
40 #include "scalar_constants.inl" Core features
Definition: common.hpp:20
GLM_FUNC_DECL GLM_CONSTEXPR genType pi()
Return the pi constant for floating point types.
Definition: scalar_constants.inl:13
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
Definition: scalar_constants.inl:6
GLM_FUNC_DECL GLM_CONSTEXPR genType cos_one_over_two()
Return the value of cos(1 / 2) for floating point types.
Definition: scalar_constants.inl:20