utility: fixed clang error in Vector2

This commit is contained in:
Eberhard Graether
2014-04-24 16:16:25 +02:00
parent 651f0f68a2
commit 50d1127f61
+2 -2
View File
@@ -88,8 +88,8 @@ Vector2<T> Vector2<T>::normalize()
{
float length = getLength();
static_cast<float>(x) /= length;
static_cast<float>(y) /= length;
x /= length;
y /= length;
return *this;
}