Skip to content

cf_update_time

Category: time
GitHub: cute_time.h


Updates the application.

void cf_update_time(CF_OnUpdateFn* on_update);
Parameters Description
on_update Can be NULL. Called once per update. Mostly just useful for the fixed-timestep case (see cf_set_fixed_timestep).

Remarks

Typically you will want to call this function just after cf_app_update, or, alternatively pass in on_update to cf_app_update instead of calling this function at all.

cf_set_fixed_timestep
cf_set_fixed_timestep_max_updates
CF_DELTA_TIME_INTERPOLANT
cf_set_update_udata
CF_DELTA_TIME_FIXED