mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 18:47:28 +02:00
added operator!= for Transform class
This commit is contained in:
parent
182829e64c
commit
2d88e74841
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue