diff options
author | dfk <dfk@umn.edu> | 2021-03-17 10:37:08 -0500 |
---|---|---|
committer | GitHub Enterprise <noreply-github@umn.edu> | 2021-03-17 10:37:08 -0500 |
commit | b9a2cbb5a62215a01d12a00b82f0fa77b3850632 (patch) | |
tree | a5f61e451088b72feb59848d34259dd0e5db6a22 | |
parent | Update vector2.cc (diff) | |
download | csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar.gz csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar.bz2 csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar.lz csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar.xz csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.tar.zst csci4611-b9a2cbb5a62215a01d12a00b82f0fa77b3850632.zip |
Update vector3.cc
Diffstat (limited to '')
-rw-r--r-- | dev/MinGfx/src/vector3.cc | 4 |
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); } |