summaryrefslogtreecommitdiffstats
path: root/dev/MinGfx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev/MinGfx/src/vector2.cc2
1 files changed, 1 insertions, 1 deletions
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);
}