mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
remove unused variable
This commit is contained in:
parent
8ed93783bd
commit
2bfbb63906
1 changed files with 0 additions and 1 deletions
|
@ -273,7 +273,6 @@ void CharacterController::playerStep(btCollisionWorld* collisionWorld, btScalar
|
|||
if (_steppingUp) {
|
||||
// compute a stepUpSpeed that will reach the top of the step in the time it would take
|
||||
// to move over the _stepPoint at target speed
|
||||
btVector3 horizontalStep = _stepPoint - _stepPoint.dot(_currentUp) * _currentUp;
|
||||
float hDistance = sqrtf(_stepPoint.getX() * _stepPoint.getX() + _stepPoint.getZ() * _stepPoint.getZ());
|
||||
float targetSpeed = _targetVelocity.length();
|
||||
float timeToStep = hDistance / targetSpeed;
|
||||
|
|
Loading…
Reference in a new issue