mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
58ee3e8908
# Objective - Cull 2D text outside the view frustum. - Part of #11081. ## Solution - Compute AABBs for entities with a `Text2DBundle` to enable culling them. `text2d` example with AABB gizmos on the text entities: https://github.com/bevyengine/bevy/assets/18357657/52ed3ddc-2274-4480-835b-a7cf23338931 --- ## Changelog ### Added - 2D text outside the view are now culled with the `calculate_bounds_text2d` system adding the necessary AABBs. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |