3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-26 07:15:37 +02:00

Fix warnings.

This commit is contained in:
howard-stearns 2016-05-13 15:32:59 -07:00
parent 1f664671f9
commit 654ed33dd4

View file

@ -70,8 +70,8 @@ void OverlayConductor::updateMode() {
MyAvatar* myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
float speed = glm::length(myAvatar->getVelocity());
bool nowDriving = _driving;
const float MIN_DRIVING = 0.2;
const float MAX_NOT_DRIVING = 0.01;
const float MIN_DRIVING = 0.2f;
const float MAX_NOT_DRIVING = 0.01f;
if (speed > MIN_DRIVING) {
nowDriving = true;
}