From 4808cff234222da99a4059d338cf655e4275ef14 Mon Sep 17 00:00:00 2001 From: dfk Date: Wed, 17 Mar 2021 10:36:31 -0500 Subject: Update vector2.cc --- dev/MinGfx/src/vector2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/MinGfx') diff --git a/dev/MinGfx/src/vector2.cc b/dev/MinGfx/src/vector2.cc index cada189..92308f7 100644 --- a/dev/MinGfx/src/vector2.cc +++ b/dev/MinGfx/src/vector2.cc @@ -50,7 +50,7 @@ bool Vector2::operator==(const Vector2& other) const { } bool Vector2::operator!=(const Vector2& other) const { - return (fabs(other[0] - v[0]) >= MINGFX_MATH_EPSILON && + return (fabs(other[0] - v[0]) >= MINGFX_MATH_EPSILON || fabs(other[1] - v[1]) >= MINGFX_MATH_EPSILON); } -- cgit v1.2.3