GraphicsAPI_2020C
|
Provides a list of constants and precomputed useful values. More...
![]() |
Functions | |
template<typename genType > | |
GLM_FUNC_DECL GLM_CONSTEXPR genType | glm::epsilon () |
Return the epsilon constant for floating point types. | |
template<typename genType > | |
GLM_FUNC_DECL GLM_CONSTEXPR genType | glm::pi () |
Return the pi constant for floating point types. | |
template<typename genType > | |
GLM_FUNC_DECL GLM_CONSTEXPR genType | glm::cos_one_over_two () |
Return the value of cos(1 / 2) for floating point types. | |
Provides a list of constants and precomputed useful values.
Include <glm/ext/scalar_constants.hpp> to use the features of this extension.