mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
add f at end of float literal
This commit is contained in:
parent
a758ccd75a
commit
3d531e8304
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ void PhysicsEngine::setAvatarData(AvatarData *avatarData) {
|
|||
glmToBullet(_avatarData->getPosition())));
|
||||
|
||||
// XXX these values should be computed from the character model.
|
||||
btScalar characterRadius = 0.3;
|
||||
btScalar characterRadius = 0.3f;
|
||||
btScalar characterHeight = 1.75 - 2.0f * characterRadius;
|
||||
btScalar stepHeight = btScalar(0.35);
|
||||
|
||||
|
|
Loading…
Reference in a new issue