diff --git a/src/main.rs b/src/main.rs index 7033908..d399077 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,17 +89,19 @@ fn main() { .add_systems(Startup, star_setup) .add_systems(Startup, cons_setup) .add_systems(Startup, ui_setup) - .add_systems(Startup, spawn_line) .add_systems(Update, player_rotate) .add_systems(Update, button_system) .run(); } -fn spawn_line( +fn spawn_cons_lines( mut commands: Commands, mut meshes: ResMut>, mut materials: ResMut>, + sky: Res, + constellation_name: String, ) { + info!("show : {}", constellation_name); // Create a material for the line let line_material = materials.add(StandardMaterial { emissive: LinearRgba::rgb(1.0, 0.5, 0.5), // Red color for the line @@ -315,7 +317,7 @@ fn player_rotate( mut text_query: Query<&mut Text, With>, mut button_query: Query<(&mut BackgroundColor, &mut BorderColor), With