Fixed Vector3i != operator

master
Marc Gilleron 2017-08-28 01:44:12 +02:00
parent fdb61c9b62
commit 488ca3e6fd
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ _FORCE_INLINE_ bool operator==(const Vector3i &a, const Vector3i &b) {
}
_FORCE_INLINE_ bool operator!=(const Vector3i &a, const Vector3i &b) {
return a.x != b.x && a.y != b.y && a.z != b.z;
return a.x != b.x || a.y != b.y || a.z != b.z;
}
_FORCE_INLINE_ int Vector3i::distance_sq(const Vector3i &other) const {