mirror of
https://github.com/g-truc/glm.git
synced 2024-11-25 18:04:34 +00: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…
Reference in New Issue
Block a user