mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:53:26 +02:00
fix typo
This commit is contained in:
parent
081037bc5f
commit
7a2ecd27fd
1 changed files with 2 additions and 2 deletions
|
@ -699,7 +699,7 @@ void EntityItem::simulate(const quint64& now) {
|
|||
#ifndef USE_BULLET_PHYSICS
|
||||
// if we've slowed considerably, then just stop moving, but only if no BULLET
|
||||
if (glm::length(velocity) <= ENTITY_ITEM_EPSILON_VELOCITY_LENGTH) {
|
||||
velocity = NO_VELOCITY;
|
||||
velocity = ENTITY_ITEM_ZERO_VEC3;
|
||||
}
|
||||
#endif // !USE_BULLET_PHYSICS
|
||||
|
||||
|
@ -723,7 +723,7 @@ void EntityItem::simulate(const quint64& now) {
|
|||
#else // !USE_BULLET_PHYSICS
|
||||
// ... otherwise we help things come to rest by clamping small velocities.
|
||||
if (glm::length(velocity) <= ENTITY_ITEM_EPSILON_VELOCITY_LENGTH) {
|
||||
velocity = NO_VELOCITY;
|
||||
velocity = ENTITY_ITEM_ZERO_VEC3;
|
||||
}
|
||||
#endif // USE_BULLET_PHYSICS
|
||||
|
||||
|
|
Loading…
Reference in a new issue