use crate::{ecs::StarguideOrbitImage, prelude::*}; pub fn starguide_orbit_plugin(app: &mut App) { //app.add_systems(Update, update_orbits); } fn update_orbits( orbit_image: Res, mut images: ResMut>, ) { let Some(image) = images.get_mut(&orbit_image.0) else { error!("Orbit prediction image not found"); return }; for i in 0..100 { image.set_color_at(i, 100, Color::linear_rgb(1.0, 0.0, 0.0)).unwrap(); } }