fixed CVector !=

This commit is contained in:
aap 2020-04-30 11:31:49 +02:00
parent 080689589c
commit b714103703

View file

@ -95,6 +95,10 @@ public:
return x == right.x && y == right.y && z == right.z; return x == right.x && y == right.y && z == right.z;
} }
const bool operator!=(CVector const &right) {
return x != right.x || y != right.y || z != right.z;
}
bool IsZero(void) const { return x == 0.0f && y == 0.0f && z == 0.0f; } bool IsZero(void) const { return x == 0.0f && y == 0.0f && z == 0.0f; }
}; };