bevy/crates/bevy_math/src/rects
Emi 36eedbfa92
Change Urect::width & Urect::height to be const (#9640)
# Objective
The two functions

[`Urect::height`](https://docs.rs/bevy_math/latest/bevy_math/struct.URect.html#method.height),

[`Urect::width`](https://docs.rs/bevy_math/latest/bevy_math/struct.URect.html#method.width)
 are currently not const. 
Since the methods are very unlikely to change (ever) and are useful to
be const for some games, they should be.

Co-authored-by: Emi <emanuel.boehm@gmail.com>
2023-08-30 17:31:30 +00:00
..
irect.rs Add reflect impls to IRect and URect (#9191) 2023-07-23 01:02:00 +00:00
mod.rs Add integer equivalents for Rect (#7984) 2023-06-12 19:10:48 +00:00
rect.rs Rename bevy_math::rects conversion methods (#9159) 2023-07-15 21:10:39 +00:00
urect.rs Change Urect::width & Urect::height to be const (#9640) 2023-08-30 17:31:30 +00:00