Skip to content

Commit

Permalink
Add tau constant ##1153
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe authored and christophe-lunarg committed Dec 21, 2023
1 parent 85f2e6b commit 926e5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/gtc/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 926e5d4

Please sign in to comment.