|
|
@@ -39,6 +39,11 @@ namespace glm
|
|
|
template<typename genType>
|
|
|
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi();
|
|
|
|
|
|
+ /// 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>(); }
|
|
|
+
|
|
|
/// Return square root of pi.
|
|
|
/// @see gtc_constants
|
|
|
template<typename genType>
|