variable tick rate support

efd/v1
Dominik Madarász 2022-10-17 20:09:30 +02:00
parent 4cb85f069f
commit 339bb56dc7
2 changed files with 47 additions and 47 deletions

View File

@ -38,7 +38,7 @@ void IntegratePositions(ecs_iter_t *it) {
if (ecs_get(it->world, it->entities[i], IsInVehicle)) { if (ecs_get(it->world, it->entities[i], IsInVehicle)) {
continue; continue;
} }
if (zpl_abs(v[i].x) >= 0.001f || zpl_abs(v[i].y) >= 0.001f) //if (zpl_abs(v[i].x) >= 0.0001f || zpl_abs(v[i].y) >= 0.0001f)
{ {
// NOTE(zaklaus): world bounds // NOTE(zaklaus): world bounds
{ {