Corrected Sparc compile failure

This commit is contained in:
Kearwood Gilbert
2018-08-05 19:10:20 -07:00
committed by Kearwood Gilbert
parent a21b1d2c99
commit d315908653

View File

@@ -238,7 +238,7 @@ int Vector2i::sqrMagnitude() const {
}
int Vector2i::magnitude() const {
return static_cast<int>(sqrt(x * x + y * y));
return static_cast<int>(sqrtf(x * x + y * y));
}
Vector2i Vector2i::Normalize(const Vector2i &v) {