mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 11:10:03 +02:00
add ObjectMotionState::getObjectID()
This commit is contained in:
parent
35ed755b13
commit
cb37b884d2
2 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,8 @@ public:
|
|||
virtual const glm::vec3& getObjectAngularVelocity() const { return _entity->getAngularVelocity(); }
|
||||
virtual const glm::vec3& getObjectGravity() const { return _entity->getGravity(); }
|
||||
|
||||
virtual const QUuid& getObjectID() const { return _entity->getID(); }
|
||||
|
||||
virtual void bump();
|
||||
|
||||
EntityItem* getEntity() const { return _entity; }
|
||||
|
|
|
@ -114,6 +114,8 @@ public:
|
|||
virtual const glm::vec3& getObjectAngularVelocity() const = 0;
|
||||
virtual const glm::vec3& getObjectGravity() const = 0;
|
||||
|
||||
virtual const QUuid& getObjectID() const = 0;
|
||||
|
||||
virtual void bump() = 0;
|
||||
|
||||
friend class PhysicsEngine;
|
||||
|
|
Loading…
Reference in a new issue