mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Remove tutorial stuff
This commit is contained in:
+1
-12
@@ -1,7 +1,6 @@
|
||||
use bevy::prelude::*;
|
||||
|
||||
mod orbit_cam;
|
||||
mod people;
|
||||
mod test_scene;
|
||||
|
||||
use orbit_cam::{OrbitCam, OrbitCamPlugin};
|
||||
@@ -12,21 +11,11 @@ fn main() {
|
||||
console_error_panic_hook::set_once();
|
||||
|
||||
App::new()
|
||||
.add_plugins((
|
||||
DefaultPlugins,
|
||||
people::Plugin,
|
||||
OrbitCamPlugin,
|
||||
TestScenePlugin,
|
||||
))
|
||||
.add_systems(Startup, hello_world)
|
||||
.add_plugins((DefaultPlugins, OrbitCamPlugin, TestScenePlugin))
|
||||
.add_systems(Update, draw_world_axes.after(orbit_cam::pan_orbit_camera))
|
||||
.run();
|
||||
}
|
||||
|
||||
fn hello_world() {
|
||||
info!("Hello, world!");
|
||||
}
|
||||
|
||||
fn draw_world_axes(mut gizmos: Gizmos, q: Query<&OrbitCam>) {
|
||||
let &OrbitCam { focus, radius, .. } = q.single();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user