eco2d/code/foundation/src/systems/systems.h

11 lines
217 B
C

#pragma once
#include "flecs.h"
static inline float safe_dt(ecs_iter_t *it) {
return zpl_min(it->delta_time, 0.03334f);
}
#define TICK_VAR(var) (var) = zpl_max((var)-1, 0)
void SystemsImport(ecs_world_t *ecs);