Add tau constant ##1153

This commit is contained in:
christophe 2023-12-21 12:26:17 +01:00 committed by Christophe
parent 85f2e6b998
commit 926e5d4b70

View File

@ -42,7 +42,7 @@ namespace glm
/// Return unit-circle circumference, or pi * 2.
/// @see gtc_constants
template<typename genType>
GLM_FUNC_DECL GLM_CONSTEXPR genType tau() { return glm::two_pi<genType>(); }
GLM_FUNC_DECL GLM_CONSTEXPR genType tau();
/// Return square root of pi.
/// @see gtc_constants