Skip to content

Commit

Permalink
Fix typo in 'pi()'
Browse files Browse the repository at this point in the history
  • Loading branch information
andoalon authored Apr 8, 2019
1 parent 13d2cea commit 0053354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glm/ext/scalar_constants.inl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0053354

Please sign in to comment.