Skip to main content

Module clock

Module clock 

Source
Expand description

Time sources for driving animations.

Structs§

ManualClock
A clock where the caller explicitly sets the dt each frame.
MockClock
A fixed-step clock for deterministic tests.
WallClock
A real-time clock backed by std::time::Instant.

Traits§

Clock
Abstracts any time source that can produce a dt (delta-time) value in seconds.