From 3317666ec202526d8659c5c435ff6502211a15eb Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 16 Mar 2024 23:41:43 +0100 Subject: [PATCH] remove point lights (never worked anyway) --- src/world.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/world.rs b/src/world.rs index b6edc4f..a642061 100644 --- a/src/world.rs +++ b/src/world.rs @@ -62,18 +62,6 @@ pub fn setup( ambient_light.brightness = 0.0; // Add Light - commands.spawn(PointLightBundle { - transform: Transform::from_xyz(5.0, 5.0, 0.0), - point_light: PointLight { - intensity: 0.0, - range: 500.0, - color: Color::WHITE, - shadows_enabled: true, - ..default() - }, - ..default() - }); - commands.spawn(DirectionalLightBundle { directional_light: DirectionalLight { illuminance: light_consts::lux::OVERCAST_DAY,