Frame-clock and timers
ticktock
makes it very easy to access frame-timing iterators to achieve
constant framerates:
// run with a constant framerate of 30 fps
for in framerate.iter
See the documentation for details.
ticktock
makes it very easy to access frame-timing iterators to achieve
constant framerates:
// run with a constant framerate of 30 fps
for (tick, now) in Clock::framerate(30.0).iter() {
// ...
}
See the documentation for details.