Simplify examples/3d/orthographic (#11045)
Current example may mislead into thinking both parameters are mandatory to make orthographic projection work.
This commit is contained in:
parent
1a2a184350
commit
0f71dcbf1a
@ -18,8 +18,8 @@ fn setup(
|
||||
// camera
|
||||
commands.spawn(Camera3dBundle {
|
||||
projection: OrthographicProjection {
|
||||
scale: 3.0,
|
||||
scaling_mode: ScalingMode::FixedVertical(2.0),
|
||||
// 6 world units per window height.
|
||||
scaling_mode: ScalingMode::FixedVertical(6.0),
|
||||
..default()
|
||||
}
|
||||
.into(),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user