trying out custom projection code

This commit is contained in:
Hartmut Seichter 2022-07-17 23:18:17 +02:00
parent ad97bb7aab
commit 1272865a79
2 changed files with 7 additions and 0 deletions

View file

@ -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

View file

@ -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)