fixedstep 0.2.0

Simple macro to create a fixed timestep loop for a game
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

#[macro_use]
extern crate fixedstep;

#[test]
fn test()
{
    fixedstep_loop!(
        Step(60, true),
        Update => { true },
        Render(delta) => { println!("Render Delta: {:?}", delta) },
    );
}