bevy/pipelined
Aevyrie 38c7d5eb9e Check for NaN in Camera::world_to_screen() (#3268)
# Objective

- Checks for NaN in computed NDC space coordinates, fixing unexpected NaN in a fallible (`Option<T>`) function.

## Solution

- Adds a NaN check, in addition to the existing NDC bounds checks.
- This is a helper function, and should have no performance impact to the engine itself.
- This will help prevent hard-to-trace NaN propagation in user code, by returning `None` instead of `Some(NaN)`.


Depends on https://github.com/bevyengine/bevy/pull/3269 for CI error fix.
2021-12-08 01:31:31 +00:00
..
bevy_core_pipeline Add support for opaque, alpha mask, and alpha blend modes (#3072) 2021-11-16 03:03:27 +00:00
bevy_gltf2 Fix clippy lints for 1.57 (#3238) 2021-12-02 23:40:37 +00:00
bevy_pbr2 Fix clippy lints for 1.57 (#3238) 2021-12-02 23:40:37 +00:00
bevy_render2 Check for NaN in Camera::world_to_screen() (#3268) 2021-12-08 01:31:31 +00:00
bevy_sprite2 Default image used in PipelinedSpriteBundle to be able to render without loading a texture (#3270) 2021-12-07 01:13:55 +00:00