Clutter Engine 0.0.1
Loading...
Searching...
No Matches
GLM_EXT_scalar_constants

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.
 

Detailed Description

Provides a list of constants and precomputed useful values.

Include <glm/ext/scalar_constants.hpp> to use the features of this extension.