format fix
This commit is contained in:
parent
e637299192
commit
7e3dc0ae16
@ -66,8 +66,8 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER genType cot(genType angle)
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'cot' only accept floating-point values");
|
||||
|
||||
genType const pi_over_2 = genType(3.1415926535897932384626433832795 / 2.0);
|
||||
|
||||
return glm::tan(pi_over_2 - angle);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user