This commit is contained in:
Leon Liu 2025-08-18 03:13:32 +00:00
parent a09720992f
commit 6e26661088

View File

@ -60,18 +60,6 @@ struct ObjectBundle {
#[derive(Component)]
struct Star;
#[derive(Component)]
struct EmissiveEnhanced;
#[derive(Component)]
struct NeedsEmissiveEnhancement;
#[derive(Component)]
struct EmissiveEnhancementAttempts {
attempts: u32,
max_attempts: u32,
}
#[derive(Component)]
struct Earth;
@ -449,7 +437,6 @@ fn setup_solar_system(mut commands: Commands, asset_server: Res<AssetServer>) {
match body_data.name.as_str() {
"Sun" => {
entity_commands.insert(Star);
entity_commands.insert(NeedsEmissiveEnhancement);
entity_commands.insert(PointLight {
color: Color::WHITE,
shadows_enabled: true,