Merge pull request #2938 from MomoDeve/patch-1

applied const modifiers to some RigidBody getters
This commit is contained in:
erwincoumans 2020-08-31 17:35:37 -07:00 committed by GitHub
commit db9f989a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,12 +356,12 @@ public:
}
}
btVector3 getPushVelocity()
btVector3 getPushVelocity() const
{
return m_pushVelocity;
}
btVector3 getTurnVelocity()
btVector3 getTurnVelocity() const
{
return m_turnVelocity;
}