bevy/crates/bevy_render/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
..
camera OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
mesh Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00
pass Added RenderPass::set_scissor_rect (#815) 2020-11-09 13:24:29 -08:00
pipeline Don't panic if there's no index buffer and call draw (#1229) 2021-01-12 14:05:13 -08:00
render_graph Add support for reading from mapped buffers (#1274) 2021-01-21 17:53:43 -08:00
renderer Add support for reading from mapped buffers (#1274) 2021-01-21 17:53:43 -08:00
shader Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00
texture Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00
color.rs Bevy Reflection (#926) 2020-11-27 16:39:59 -08:00
colorspace.rs Bevy Reflection (#926) 2020-11-27 16:39:59 -08:00
draw.rs Don't panic if there's no index buffer and call draw (#1229) 2021-01-12 14:05:13 -08:00
entity.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
lib.rs Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00