From 1272865a7917450943391732e9532f1a9129b1f4 Mon Sep 17 00:00:00 2001
From: Hartmut Seichter <hartmut@technotecture.com>
Date: Sun, 17 Jul 2022 23:18:17 +0200
Subject: [PATCH] trying out custom projection code

---
 Cargo.toml  | 1 +
 src/main.rs | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 42055c9..73bb989 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,3 +7,4 @@ edition = "2021"
 
 [dependencies]
 bevy = "0.7" # make sure this is the latest version
+# vrpn = "0.1.0" # not compatible with 2021
diff --git a/src/main.rs b/src/main.rs
index e3304d7..4705382 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,7 @@
 use bevy::prelude::*;
 
 mod scene;
+mod offaxis;
 
 fn main() {
     App::new()
@@ -13,6 +14,11 @@ fn main() {
     })
     .add_plugins(DefaultPlugins)
     .add_plugin(scene::BuildScenePlugin)
+    .add_startup_system(offaxis::camera_setup)
+        // .add_system_to_stage(
+            // CoreStage::PostUpdate,
+            // camera_system::<offaxis::OffAxisProjection>,
+        // )
     // .add_system(hello_world)
     // .add_startup_system(add_scene)
     // .add_system(print_positions)