From b9a2cbb5a62215a01d12a00b82f0fa77b3850632 Mon Sep 17 00:00:00 2001 From: dfk Date: Wed, 17 Mar 2021 10:37:08 -0500 Subject: Update vector3.cc --- dev/MinGfx/src/vector3.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/MinGfx/src') 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); } -- cgit v1.2.3