diff --git a/src/offaxis.rs b/src/offaxis.rs index 0358da0..62295ac 100644 --- a/src/offaxis.rs +++ b/src/offaxis.rs @@ -73,16 +73,16 @@ pub fn camera_setup(mut commands: Commands) { print!("Setup {0}",line!()); - commands.spawn_bundle(( - camera, - projection, - frustum, - VisibleEntities::default(), - transform, - GlobalTransform::default(), - // Camera2d, - ) - ); + // commands.spawn_bundle(( + // camera, + // projection, + // frustum, + // VisibleEntities::default(), + // transform, + // GlobalTransform::default(), + // // Camera2d, + // ) + // ); print!("Setup {0}",line!()); diff --git a/src/scene.rs b/src/scene.rs index 2fa9849..e6db6c7 100644 --- a/src/scene.rs +++ b/src/scene.rs @@ -17,9 +17,9 @@ pub struct Position { x: f32, y: f32 } pub fn build_scene(mut commands: Commands) { - commands.spawn() - .insert(Person) - .insert(Position { x: 10.0, y: 10.0 } ); + // commands.spawn() + // .insert(Person) + // .insert(Position { x: 10.0, y: 10.0 } ); // camera // commands.spawn_bundle(OffAxisProjection {