Temporarily use push constants to set view/projection matrices

This commit is contained in:
2020-06-26 03:40:03 +02:00
parent e755d3b1d8
commit 4121b5e657
3 changed files with 9 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ impl Game for TestGame {
renderer.game_data.line_push_constants.view = view.into();
renderer.game_data.line_push_constants.projection = proj.into();
renderer.game_data.push_constants.view = view.into();
renderer.game_data.push_constants.projection = proj.into();
self.input.frame_end();