bevy/crates/bevy_render/src/camera
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
..
active_cameras.rs ecs: ergonomic query.iter(), remove locks, add QuerySets (#741) 2020-10-29 23:39:55 -07:00
camera.rs world coords to screen space (#1258) 2021-01-21 17:49:29 -08:00
mod.rs enforce clippy for all target and features 2020-08-16 07:20:06 -07:00
projection.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
visible_entities.rs Render Layers (#1209) 2021-01-08 12:45:54 -08:00