mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-28 05:37:19 +00:00
Fix compilation in clang
This commit is contained in:
parent
e07f1f1668
commit
64b8b8ef82
@ -211,7 +211,7 @@ fixed fixsqrt(fixed x)
|
|||||||
// Fixed point sqrt (x*x+y*y) for non-i386.
|
// Fixed point sqrt (x*x+y*y) for non-i386.
|
||||||
fixed fixhypot(fixed x, fixed y)
|
fixed fixhypot(fixed x, fixed y)
|
||||||
{
|
{
|
||||||
return ftofix(std::hypot(fixtof(x), fixtof(y)));
|
return ftofix(hypot(fixtof(x), fixtof(y)));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fixed point inverse tangent. Does a binary search on the tan table.
|
// Fixed point inverse tangent. Does a binary search on the tan table.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user