mirror of
https://github.com/icaven/glm.git
synced 2025-12-07 17:26:50 +08:00
Add tau constant ##1153
This commit is contained in:
parent
85f2e6b998
commit
926e5d4b70
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user