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::, + // ) // .add_system(hello_world) // .add_startup_system(add_scene) // .add_system(print_positions)