diff --git a/src/explo_state.rs b/src/explo_state.rs index 2c8fe43..a19652f 100644 --- a/src/explo_state.rs +++ b/src/explo_state.rs @@ -3,6 +3,13 @@ use bevy::prelude::*; use crate::Player; use crate::GameState; +// pub fn setup ( +// +// ) { +// for +// spawn_cons_lines(commands, meshes, materials, sky, target_cons.clone()); +// } + pub fn player_mouse_move ( buttons: Res>, mut player_query: Query<(&mut Player, &Camera, &mut GlobalTransform)>, diff --git a/src/game_state.rs b/src/game_state.rs index d6c6dd0..e5744dd 100644 --- a/src/game_state.rs +++ b/src/game_state.rs @@ -7,7 +7,7 @@ use crate::GameState; use crate::MainGame; use crate::Sky; use crate::Constellation; -use crate::ConstellationLine; +use crate::ConstellationModel; use crate::celestial_to_cartesian; use crate::spawn_cons_lines; @@ -205,7 +205,7 @@ pub fn player_interact( sky: Res, text_query: Query<&mut Text, With>, button_query: Query<(&mut BackgroundColor, &mut BorderColor), With