mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:37:46 +02:00
fix typo
This commit is contained in:
parent
1745548665
commit
af9bafae87
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ void EntityItem::simulate(const quint64& now) {
|
||||||
|
|
||||||
float angularSpeed = glm::length(_angularVelocity);
|
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) {
|
if (angularSpeed < EPSILON_ANGULAR_VELOCITY_LENGTH) {
|
||||||
setAngularVelocity(NO_ANGULAR_VELOCITY);
|
setAngularVelocity(NO_ANGULAR_VELOCITY);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue