Expand description
Time sources for driving animations.
Structs§
- Manual
Clock - A clock where the caller explicitly sets the dt each frame.
- Mock
Clock - A fixed-step clock for deterministic tests.
- Wall
Clock - 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.