diff --git a/include/Spectre/Math/Vector2.inl b/include/Spectre/Math/Vector2.inl index f636623..0eea069 100644 --- a/include/Spectre/Math/Vector2.inl +++ b/include/Spectre/Math/Vector2.inl @@ -284,7 +284,7 @@ inline bool operator<=(T s, const Vector2& v) template inline bool operator>(const Vector2& v, T s) { - return x > s && y > s; + return v.x > s && v.y > s; } template