added operator!= for Transform class

This commit is contained in:
Seth Alves 2016-08-01 07:50:12 -07:00
parent 182829e64c
commit 2d88e74841

View file

@ -89,6 +89,10 @@ public:
return _rotation == other._rotation && _scale == other._scale && _translation == other._translation;
}
bool operator!=(const Transform& other) const {
return _rotation != other._rotation || _scale != other._scale || _translation != other._translation;
}
Transform& setIdentity();
const Vec3& getTranslation() const;