mirror of
https://github.com/bevyengine/bevy
synced 2025-01-02 08:18:59 +00:00
38c7d5eb9e
# 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. |
||
---|---|---|
.. | ||
camera | ||
color | ||
mesh | ||
primitives | ||
render_graph | ||
render_phase | ||
render_resource | ||
renderer | ||
texture | ||
view | ||
lib.rs | ||
render_asset.rs | ||
render_component.rs |