bevy/crates/bevy_math/src/rects
ickshonpe c959c1ba58
normalize method for Rect (#10297)
# Objective

`normalize` method that expresses a rectangle relative to a normalized
[0..1] x [0..1] space defined by another rectangle.

Useful for UI and texture atlas calculations etc.

---------

Co-authored-by: Rob Parrett <robparrett@gmail.com>
2023-10-28 19:02:58 +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 normalize method for Rect (#10297) 2023-10-28 19:02:58 +00:00
urect.rs Change Urect::width & Urect::height to be const (#9640) 2023-08-30 17:31:30 +00:00