Merge pull request #892 from andoalon/patch-1

Fix typo in 'pi()' #892
master
Christophe ago%!(EXTRA string=6 years) committed by GitHub
commit 9f34f04928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      glm/ext/scalar_constants.inl

@ -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…
Cancel
Save