Skip to content

Commit

Permalink
formatting again
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoskey committed Dec 7, 2024
1 parent b13c285 commit ec87088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_pbr/src/light/directional_light.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub struct DirectionalLight {
/// of that circle, or 8.73e-3 radians.
///
/// This value controls the radius of soft shadow penumbras, as well as
/// some volumetric lighting effects. See [`LightShadows`] for more
/// some volumetric lighting effects. See [`LightShadows`] for more
/// information on soft shadows.
///
/// Note that this is not the same thing as the *solid angle* (or "angular
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_pbr/src/light/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ impl LightShadows {
#[allow(unreachable_patterns)]
pub(crate) fn if_soft(&self, num: f32) -> f32 {
match self {
LightShadows::None | LightShadows::Hard => 0.0,
LightShadows::None | LightShadows::Hard => 0.0,
_ => num,
}
}
Expand Down

0 comments on commit ec87088

Please sign in to comment.