Skip to content

@modoki/engine / index / resetTimeBaseline

Function: resetTimeBaseline()

resetTimeBaseline(): void

Re-baseline the internal clock + smoothing state to the current clock. Used by stepSimulation() so a deterministic stepped run's first tick yields exactly the requested dt and a clean EMA seed.

Returns

void

Built with Modoki.