bevy/crates/bevy_ui/src
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
..
flex Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00
render fix scene loading (#988) 2020-12-03 13:57:36 -08:00
widget Prevent ImageBundles from causing constant layout recalculations (#1299) 2021-01-24 21:00:20 -08:00
anchors.rs rustfmt changes 2020-07-28 14:24:03 -07:00
entity.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
focus.rs do not check for focus until cursor position has been set (#1070) 2020-12-23 16:10:39 -06:00
lib.rs Render text in 2D scenes (#1122) 2020-12-27 13:19:03 -06:00
margins.rs move bevy crates to their own folder 2020-04-24 17:57:20 -07:00
node.rs Render text in 2D scenes (#1122) 2020-12-27 13:19:03 -06:00
update.rs Adopt a Fetch pattern for SystemParams (#1074) 2020-12-15 21:57:16 -08:00