bevy/crates/bevy_ui/src/render
François c0b87d284f don't cull ui nodes that have a rotation (#5389)
# Objective

- Fixes #5293 
- UI nodes with a rotation that made the top left corner lower than the top right corner (z rotations greater than π/4) were culled

## Solution

- Do not cull nodes with a rotation, but don't do proper culling in this case



As a reminder, changing rotation and scale of UI nodes is not recommended as it won't impact layout. This is a quick fix but doesn't handle properly rotations and scale in clipping/culling. This would need a lot more work as mentioned here: c2b332f98a/crates/bevy_ui/src/render/mod.rs (L404-L405)
2022-07-20 20:03:13 +00:00
..
mod.rs don't cull ui nodes that have a rotation (#5389) 2022-07-20 20:03:13 +00:00
pipeline.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
render_pass.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
ui.wgsl update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00