From 3ebc7b5c51bd21fc098ae80cfc431eba4f13829b Mon Sep 17 00:00:00 2001
From: Hartmut Seichter <hartmut@technotecture.com>
Date: Mon, 19 Dec 2022 22:49:24 +0100
Subject: [PATCH] added up/down for the viewer setup

---
 src/viewer.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/viewer.rs b/src/viewer.rs
index 0b536c0..dcbcd65 100644
--- a/src/viewer.rs
+++ b/src/viewer.rs
@@ -93,6 +93,10 @@ pub fn simulate_viewer_with_keyboard(
             viewer.position -= Vec3::X * time.delta_seconds();
         } else if input.pressed(KeyCode::D) {
             viewer.position += Vec3::X * time.delta_seconds();
+        } else if input.pressed(KeyCode::Up) {
+            viewer.position += Vec3::Y * time.delta_seconds();
+        } else if input.pressed(KeyCode::Down) {
+            viewer.position -= Vec3::Y * time.delta_seconds();
         }
     }
 }