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) }, ); }