fix definition to match declaration

This commit is contained in:
Celestin de Villa 2015-08-12 22:03:06 +02:00
parent ddcb8f2b1e
commit 62ced8df39

View File

@ -67,7 +67,7 @@ namespace glm
// cot // cot
template <typename genType> template <typename genType>
GLM_FUNC_QUALIFIER genType cot(genType angle) GLM_FUNC_QUALIFIER genType cot(genType const & angle)
{ {
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cot' only accept floating-point values"); GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cot' only accept floating-point values");