summaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/src/vector3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/MinGfx/src/vector3.cc')
-rw-r--r--dev/MinGfx/src/vector3.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/MinGfx/src/vector3.cc b/dev/MinGfx/src/vector3.cc
index 19262c2..7848f48 100644
--- a/dev/MinGfx/src/vector3.cc
+++ b/dev/MinGfx/src/vector3.cc
@@ -57,8 +57,8 @@ bool Vector3::operator==(const Vector3& other) const {
}
bool Vector3::operator!=(const Vector3& other) const {
- return (fabs(other[0] - v[0]) >= MINGFX_MATH_EPSILON &&
- fabs(other[1] - v[1]) >= MINGFX_MATH_EPSILON &&
+ return (fabs(other[0] - v[0]) >= MINGFX_MATH_EPSILON ||
+ fabs(other[1] - v[1]) >= MINGFX_MATH_EPSILON ||
fabs(other[2] - v[2]) >= MINGFX_MATH_EPSILON);
}