diff --git a/src/lib/utility/math/Vector2.h b/src/lib/utility/math/Vector2.h index 850c0c10..ad4fad36 100644 --- a/src/lib/utility/math/Vector2.h +++ b/src/lib/utility/math/Vector2.h @@ -88,8 +88,8 @@ Vector2 Vector2::normalize() { float length = getLength(); - static_cast(x) /= length; - static_cast(y) /= length; + x /= length; + y /= length; return *this; }