Skip to content

Commit 7e7dce0

Browse files
committed
Remove Ambient light enum
1 parent 59db981 commit 7e7dce0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/processing_render/src/light.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pub struct Light {
1717

1818
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
1919
pub enum LightType {
20-
Ambient,
2120
Directional,
2221
Point,
2322
Spot,
@@ -37,6 +36,6 @@ pub fn create(
3736
LightType::Directional => commands
3837
.spawn((DirectionalLight::default(), Transform::from_xyz(x, y, z)))
3938
.id(),
40-
_ => commands.spawn(AmbientLight::default()).id(),
39+
_ => commands.spawn(DirectionalLight::default()).id(),
4140
}
4241
}

0 commit comments

Comments
 (0)