mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 14:44:39 +02:00
remove warning about unused variable
This commit is contained in:
parent
084a1cf8ae
commit
5154e98a2e
1 changed files with 0 additions and 1 deletions
|
@ -209,7 +209,6 @@ bool CharacterController::checkForSupport(btCollisionWorld* collisionWorld, btSc
|
|||
if (stepContactIndex > -1 && highestStep > stepHeight) {
|
||||
// remember step info for later
|
||||
btManifoldPoint& contact = contactManifold->getContactPoint(stepContactIndex);
|
||||
btVector3 pointOnCharacter = characterIsFirst ? contact.m_localPointA : contact.m_localPointB; // object-local-frame
|
||||
btVector3 normal = characterIsFirst ? contact.m_normalWorldOnB : -contact.m_normalWorldOnB; // points toward character
|
||||
stepHeight = highestStep;
|
||||
stepNormal = normal;
|
||||
|
|
Loading…
Reference in a new issue