diff options
author | erwincoumans <erwincoumans@google.com> | 2020-08-31 17:35:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 17:35:37 -0700 |
commit | db9f989a66ac9781d4dc693d572535cb8e57ea03 (patch) | |
tree | 669a5fc7d980631c3990bb0b621ceda16a23a8ea | |
parent | 85a3cb0ed5906a338f597ef435942c1f7f09cc51 (diff) | |
parent | 092de325ae62704f16ddd3c847bac9054314ebb9 (diff) | |
download | bullet3-db9f989a66ac9781d4dc693d572535cb8e57ea03.tar.gz |
Merge pull request #2938 from MomoDeve/patch-1
applied const modifiers to some RigidBody getters
-rw-r--r-- | src/BulletDynamics/Dynamics/btRigidBody.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BulletDynamics/Dynamics/btRigidBody.h b/src/BulletDynamics/Dynamics/btRigidBody.h index 0a597d90c..7442dd1e6 100644 --- a/src/BulletDynamics/Dynamics/btRigidBody.h +++ b/src/BulletDynamics/Dynamics/btRigidBody.h @@ -356,12 +356,12 @@ public: } } - btVector3 getPushVelocity() + btVector3 getPushVelocity() const { return m_pushVelocity; } - btVector3 getTurnVelocity() + btVector3 getTurnVelocity() const { return m_turnVelocity; } |