mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
commit
9f34f04928
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ namespace glm
|
|||
template<typename genType>
|
||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType pi()
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'epsilon' only accepts floating-point inputs");
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'pi' only accepts floating-point inputs");
|
||||
return static_cast<genType>(3.14159265358979323846264338327950288);
|
||||
}
|
||||
} //namespace glm
|
||||
|
|
Loading…
Add table
Reference in a new issue