mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 06:44:35 +00:00
fix definition to match declaration
This commit is contained in:
parent
ddcb8f2b1e
commit
62ced8df39
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user