mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 12:13:25 +00:00
Fix pbr
example camera scale (#15977)
# Objective Fixes #15976 ## Solution I haven't been following the recent camera changes but on a whim I inverted the scale and it restored the old behavior. It seems that a similar inversion was done when migrating the `pixel_grid_snap` example in #15976. ## Testing `cargo run --example pbr`
This commit is contained in:
parent
eb19a9ea0b
commit
624f573443
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ fn setup(
|
|||
Camera3d::default(),
|
||||
Transform::from_xyz(0.0, 0.0, 8.0).looking_at(Vec3::default(), Vec3::Y),
|
||||
Projection::from(OrthographicProjection {
|
||||
scale: 100.,
|
||||
scale: 0.01,
|
||||
scaling_mode: ScalingMode::WindowSize,
|
||||
..OrthographicProjection::default_3d()
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue