bevy/examples/math
Rich Churcher f326705cab
Remove OrthographicProjection.scale (adopted) (#15075)
# Objective

Hello! I am adopting #11022 to resolve conflicts with `main`. tldr: this
removes `scale` in favour of `scaling_mode`. Please see the original PR
for explanation/discussion.

Also relates to #2580.

## Migration Guide

Replace all uses of `scale` with `scaling_mode`, keeping in mind that
`scale` is (was) a multiplier. For example, replace
```rust
    scale: 2.0,
    scaling_mode: ScalingMode::FixedHorizontal(4.0),

```
with
```rust
    scaling_mode: ScalingMode::FixedHorizontal(8.0),
```

---------

Co-authored-by: Stepan Koltsov <stepan.koltsov@gmail.com>
2024-09-09 22:34:58 +00:00
..
cubic_splines.rs style: simplify string formatting for readability (#15033) 2024-09-03 23:35:49 +00:00
custom_primitives.rs Remove OrthographicProjection.scale (adopted) (#15075) 2024-09-09 22:34:58 +00:00
random_sampling.rs Use AccumulatedMouseMotion, AccumulatedMouseScroll in examples (#14488) 2024-07-29 23:38:59 +00:00
render_primitives.rs Use Isometry in bevy_gizmos wherever we can (#14676) 2024-08-28 01:37:19 +00:00
sampling_primitives.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00