bevy/crates/bevy_render/src/camera
François 4a9932fa8e simplified API to get NDC from camera and world position (#4041)
# Objective

- After #3412, `Camera::world_to_screen` got a little bit uglier to use by needing to provide both `Windows` and `Assets<Image>`, even though only one would be needed b697e73c3d/crates/bevy_render/src/camera/camera.rs (L117-L123)
- Some time, exact coordinates are not needed but normalized device coordinates is enough

## Solution

- Add a function to just get NDC
2022-05-03 19:51:18 +00:00
..
bundle.rs Add the possibility to create custom 2d orthographic cameras (#4048) 2022-04-25 13:54:44 +00:00
camera.rs simplified API to get NDC from camera and world position (#4041) 2022-05-03 19:51:18 +00:00
mod.rs Converted exclusive systems to parallel systems wherever possible (#2774) 2022-04-25 14:32:56 +00:00
projection.rs add #[reflect(Default)] to create default value for reflected types (#3733) 2022-05-03 19:20:13 +00:00