gtc_constants Module Reference
Include < glm/gtc/constants.hpp > to use the features of this extension.
Provide a list of constants and precomputed useful values.
Public Member Functions
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypezero ()
Return 0.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeone ()
Return 1.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypetwo_pi ()
Return pi * 2.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_pi ()
Return square root of pi.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypehalf_pi ()
Return pi / 2.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypethree_over_two_pi ()
Return pi / 2 * 3.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypequarter_pi ()
Return pi / 4.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeone_over_pi ()
Return 1 / pi.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeone_over_two_pi ()
Return 1 / (pi * 2).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypetwo_over_pi ()
Return 2 / pi.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypefour_over_pi ()
Return 4 / pi.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypetwo_over_root_pi ()
Return 2 / sqrt(pi).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeone_over_root_two ()
Return 1 / sqrt(2).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_half_pi ()
Return sqrt(pi / 2).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_two_pi ()
Return sqrt(2 * pi).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_ln_four ()
Return sqrt(ln(4)).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypee ()
Return e constant.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeeuler ()
Return Euler's constant.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_two ()
Return sqrt(2).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_three ()
Return sqrt(3).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTyperoot_five ()
Return sqrt(5).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeln_two ()
Return ln(2).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeln_ten ()
Return ln(10).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypeln_ln_two ()
Return ln(ln(2)).
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypethird ()
Return 1 / 3.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypetwo_thirds ()
Return 2 / 3.
- See Also
-
GLM_FUNC_DECL GLM_CONSTEXPR genTypegolden_ratio ()
Return the golden ratio constant.
- See Also