-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Bevy has too many rectangle / box types #13455
Copy link
Copy link
Open
Labels
A-GizmosVisual editor and debug gizmosVisual editor and debug gizmosA-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsA-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplishedX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
Metadata
Metadata
Assignees
Labels
A-GizmosVisual editor and debug gizmosVisual editor and debug gizmosA-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsA-RenderingDrawing game state to the screenDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsGraphical user interfaces, styles, layouts, and widgetsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplishedX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
Problem
In Bevy, there are currently:
Please let me know if I've missed any.
We don't need this many distinct types for a rectangle! This results in user confusion, inconsistencies, duplicated API surfaces and more.
Proposed changes
Rectused bybevy_uiin favor ofRectangle.RectangleorCuboidisn't good enough.