mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed build
This commit is contained in:
parent
d68fd2d97e
commit
7fc5d21bbf
@ -36,7 +36,7 @@ namespace glm
|
||||
{
|
||||
GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'angle' only accept floating-point inputs");
|
||||
|
||||
genType const Angle(acos(clamp(dot(x, y), T(0), T(1)));
|
||||
T const Angle(acos(clamp(dot(x, y), T(0), T(1))));
|
||||
|
||||
#ifdef GLM_FORCE_RADIANS
|
||||
return Angle;
|
||||
|
Loading…
Reference in New Issue
Block a user