Functions
GLM_GTX_constants: Provide build-in constants
GTX Extensions (Experimental)

Functions

template<typename T >
e ()
template<typename T >
epsilon ()
template<typename T >
euler ()
template<typename T >
golden_ratio ()
template<typename T >
half_pi ()
template<typename T >
ln_ln_two ()
template<typename T >
ln_ten ()
template<typename T >
ln_two ()
template<typename T >
one ()
template<typename T >
one_over_pi ()
template<typename T >
one_over_root_two ()
template<typename T >
pi ()
template<typename T >
quarter_pi ()
template<typename T >
root_five ()
template<typename T >
root_half_pi ()
template<typename T >
root_ln_four ()
template<typename T >
root_pi ()
template<typename T >
root_three ()
template<typename T >
root_two ()
template<typename T >
root_two_pi ()
template<typename T >
third ()
template<typename T >
two_over_pi ()
template<typename T >
two_over_root_pi ()
template<typename T >
two_thirds ()
template<typename T >
zero ()

Detailed Description

Allow to perform bit operations on integer values.

<glm/gtx/constants.hpp> need to be included to use these functionalities.


Function Documentation

T glm::e ( )

Return e constant.

See also:
GLM_GTX_constants: Provide build-in constants
T glm::epsilon ( )

Return the epsilon constant for floating point types.

Todo:
Implement epsilon for half-precision floating point type.
See also:
GLM_GTX_constants: Provide build-in constants
T glm::euler ( )

Return Euler's constant.

See also:
GLM_GTX_constants: Provide build-in constants
T glm::golden_ratio ( )

Return the golden ratio constant.

See also:
GLM_GTX_constants: Provide build-in constants
T glm::half_pi ( )
T glm::ln_ln_two ( )
T glm::ln_ten ( )
T glm::ln_two ( )
T glm::one ( )
T glm::one_over_pi ( )
T glm::one_over_root_two ( )

Return 1 / sqrt(2).

See also:
GLM_GTX_constants: Provide build-in constants
T glm::pi ( )

Return the pi constant.

See also:
GLM_GTX_constants: Provide build-in constants
T glm::quarter_pi ( )
T glm::root_five ( )
T glm::root_half_pi ( )

Return sqrt(pi / 2).

See also:
GLM_GTX_constants: Provide build-in constants
T glm::root_ln_four ( )

Return sqrt(ln(4)).

See also:
GLM_GTX_constants: Provide build-in constants
T glm::root_pi ( )

Return square root of pi.

See also:
GLM_GTX_constants: Provide build-in constants
T glm::root_three ( )
T glm::root_two ( )
T glm::root_two_pi ( )

Return sqrt(2 * pi).

See also:
GLM_GTX_constants: Provide build-in constants
T glm::third ( )
T glm::two_over_pi ( )
T glm::two_over_root_pi ( )

Return 2 / sqrt(pi).

See also:
GLM_GTX_constants: Provide build-in constants
T glm::two_thirds ( )
T glm::zero ( )