Skip to content

Commit 11328a3

Browse files
committed
Add place separators to long float literals
1 parent 374fe9e commit 11328a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bevy_pbr/src/light.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Default for DirectionalLight {
109109
fn default() -> Self {
110110
DirectionalLight {
111111
color: Color::rgb(1.0, 1.0, 1.0),
112-
illuminance: 100000.0,
112+
illuminance: 100_000.0,
113113
direction: Vec3::new(0.0, -1.0, 0.0),
114114
}
115115
}

examples/3d/3d_scene.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn setup(
3030
// light
3131
let transform = Transform::from_xyz(4.0, 8.0, 4.0).looking_at(Vec3::ZERO, Vec3::Y);
3232
let mut directional_light = DirectionalLight::default();
33-
directional_light.illuminance = 10000.0;
33+
directional_light.illuminance = 10_000.0;
3434
directional_light.set_direction(transform.forward());
3535

3636
commands.spawn_bundle(DirectionalLightBundle {

0 commit comments

Comments
 (0)