Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the possibility to create custom 2d orthographic cameras (bevyeng…
…ine#4048) # Objective - The `OrthographicCameraBundle` constructor for 2d cameras uses a hardcoded value for Z position and scale of the camera. It could be useful to be able to customize these values. ## Solution - Add a new constructor `custom_2d` that takes `far` (Z position) and `scale` as parameters. The default constructor `new_2d` uses this constructor with `far = 1000.0` and `scale = 1.0`.
- Loading branch information