This commit is contained in:
Andrew Meadows 2015-01-07 12:48:16 -08:00
parent 1745548665
commit af9bafae87

View file

@ -659,7 +659,7 @@ void EntityItem::simulate(const quint64& now) {
float angularSpeed = glm::length(_angularVelocity);
const float EPSILON_ANGULAR_VELOCITY_LENGTH = 0.1; //
const float EPSILON_ANGULAR_VELOCITY_LENGTH = 0.1f; //
if (angularSpeed < EPSILON_ANGULAR_VELOCITY_LENGTH) {
setAngularVelocity(NO_ANGULAR_VELOCITY);
} else {