mirror of
https://github.com/Relintai/godot_voxel.git
synced 2024-11-19 02:47:18 +01:00
Fixed Vector3i != operator
This commit is contained in:
parent
fdb61c9b62
commit
488ca3e6fd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user