Commit c685aba4 authored by Thiago C. Santini's avatar Thiago C. Santini

Fixes ExCuSe's hypot as well

parent 95460f72
......@@ -32,6 +32,9 @@ static float hypot(float a,float b)
float t=a<b?a:b;
float x=a>b?a:b;
if (x==0)
return 0;
t = t/x;
return x*sqrt(1+(t*t));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment