added keyboard binding to simulate viewer movement

This commit is contained in:
Hartmut Seichter 2022-12-19 10:09:15 +01:00
parent fda3502870
commit 736e1c46a3
2 changed files with 9 additions and 5 deletions

View file

@ -55,8 +55,8 @@ fn main() {
.add_startup_system(setup_threaded_tracker)
.add_plugin(CameraProjectionPlugin::<OffAxisProjection>::default())
.add_system(simulate_viewer_with_circle)
// .add_system(simulate_viewer_with_keyboard)
// .add_system(simulate_viewer_with_circle)
.add_system(simulate_viewer_with_keyboard)
.add_system(apply_viewer_to_projections)
.add_system(toggle_fullscreeen)
.run();