bevy/examples/ui
Jasen Borisov 57f9ac18d7
OrthographicProjection scaling mode + camera bundle refactoring (#400)
* add normalized orthographic projection

* custom scale for ScaledOrthographicProjection

* allow choosing base axis for ScaledOrthographicProjection

* cargo fmt

* add general (scaled) orthographic camera bundle

FIXME: does the same "far" trick from Camera2DBundle make any sense here?

* fixes

* camera bundles: rename and new ortho constructors

* unify orthographic projections

* give PerspectiveCameraBundle constructors like those of OrthographicCameraBundle

* update examples with new camera bundle syntax

* rename CameraUiBundle to UiCameraBundle

* update examples

* ScalingMode::None

* remove extra blank lines

* sane default bounds for orthographic projection

* fix alien_cake_addict example

* reorder ScalingMode enum variants

* ios example fix
2021-01-30 02:31:03 -08:00
..
button.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
font_atlas_debug.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
text.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
text_debug.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
ui.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00