mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:56:50 +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) {
|
if (stepContactIndex > -1 && highestStep > stepHeight) {
|
||||||
// remember step info for later
|
// remember step info for later
|
||||||
btManifoldPoint& contact = contactManifold->getContactPoint(stepContactIndex);
|
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
|
btVector3 normal = characterIsFirst ? contact.m_normalWorldOnB : -contact.m_normalWorldOnB; // points toward character
|
||||||
stepHeight = highestStep;
|
stepHeight = highestStep;
|
||||||
stepNormal = normal;
|
stepNormal = normal;
|
||||||
|
|
Loading…
Reference in a new issue