Module glm::ext::consts [] [src]

Traits

Consts

Functions

e

Returns e constant.

epsilon

Returns the epsilon constant for floating point types.

euler

Returns Euler's constant.

four_over_pi

Returns 4 / π.

golden_ratio

Returns the golden ratio constant.

half_pi

Returns π / 2.

ln_ln_two

Returns ln(ln(2)).

ln_ten

Returns ln(10).

ln_two

Returns ln(2).

one_over_pi

Returns 1 / π.

one_over_root_two

Returns 1 / sqrt(2).

one_over_tau

Returns 1 / tau.

one_third

Returns 1 / 3.

one_third_pi

Returns π / 3.

pi

Returns the Archimedes' constant π.

quarter_pi

Returns π / 4.

root_five

Returns sqrt(5).

root_half_pi

Returns sqrt(π / 2).

root_ln_four

Returns sqrt(ln(4)).

root_pi

Returns square root of π.

root_tau

Returns sqrt(tau).

root_three

Returns sqrt(3).

root_two

Returns sqrt(2).

tau

Returns π * 2.

two_over_pi

Returns 2 / π.

two_over_root_pi

Returns 2 / sqrt(π).

two_thirds

Returns 2 / 3.