many thanks to cat888 fixes issue #2039
@ -119,7 +119,7 @@ bool Vector2<T>::operator ==(const Vector2<T> &v) const
template <typename T>
bool Vector2<T>::operator !=(const Vector2<T> &v) const
{
return (x!=v.x && y!=v.y);
return (x!=v.x || y!=v.y);
}
@ -333,7 +333,7 @@ bool Vector3<T>::operator ==(const Vector3<T> &v) const
bool Vector3<T>::operator !=(const Vector3<T> &v) const
return (x!=v.x && y!=v.y && z!=v.z);
return (x!=v.x || y!=v.y || z!=v.z);