mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
fb19b81e40
# Objective - Fixes #9138 ## Solution - Calling `Camera2dBundle::default()` will now result in a `Camera2dBundle` with `Vec3::ZERO` transform, `far` value of `1000.` and `near` value of `-1000.`. - This will enable the rendering of 2d entities in negative z space by default. - I did not modify `new_with_far` as moving the camera to `Vec3::ZERO` in that function will cause entities in the positive z space to become hidden without further changes. And the further changes cannot be applied without it being a breaking change. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |