moved mesh buffers into data object

This commit is contained in:
2019-07-28 23:27:25 +02:00
parent 745402fc0d
commit ef1dab0115
3 changed files with 13 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ impl Game for TestGame<'_> {
game_data.recreate_pipeline = true;
}
if self.input.button_down("print_framerate") {
if self.input.button_just_pressed("print_framerate") {
println!("{:.0} ms / {:.0} FPS", frame_time * 1000.0, 1.0 / frame_time);
}