update projection matrices
This commit is contained in:
parent
3ebc7b5c51
commit
6c8c9d70cb
3 changed files with 27 additions and 22 deletions
|
@ -87,7 +87,7 @@ pub fn simulate_viewer_with_keyboard(
|
|||
for mut viewer in query.iter_mut() {
|
||||
if input.pressed(KeyCode::W) {
|
||||
viewer.position += Vec3::Z * time.delta_seconds();
|
||||
} else if (input.pressed(KeyCode::S)) {
|
||||
} else if input.pressed(KeyCode::S) {
|
||||
viewer.position -= Vec3::Z * time.delta_seconds();
|
||||
} else if input.pressed(KeyCode::A) {
|
||||
viewer.position -= Vec3::X * time.delta_seconds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue