bevy/examples/stress_tests
KDecay 989fb8a78d Move Rect to bevy_ui and rename it to UiRect (#4276)
# Objective

- Closes #335.
- Related #4285.
- Part of the splitting process of #3503.

## Solution

- Move `Rect` to `bevy_ui` and rename it to `UiRect`.

## Reasons

- `Rect` is only used in `bevy_ui` and therefore calling it `UiRect` makes the intent clearer.
- We have two types that are called `Rect` currently and it's missleading (see `bevy_sprite::Rect` and #335).
- Discussion in #3503.

## Changelog

### Changed

- The `Rect` type got moved from `bevy_math` to `bevy_ui` and renamed to `UiRect`.

## Migration Guide

- The `Rect` type got renamed to `UiRect`. To migrate you just have to change every occurrence of `Rect` to `UiRect`.

Co-authored-by: KDecay <KDecayMusic@protonmail.com>
2022-04-25 19:20:38 +00:00
..
bevymark.rs Move Rect to bevy_ui and rename it to UiRect (#4276) 2022-04-25 19:20:38 +00:00
many_cubes.rs Group stress test examples (#4289) 2022-04-10 02:05:21 +00:00
many_lights.rs Faster assign lights to clusters (#4345) 2022-04-15 02:53:20 +00:00
many_sprites.rs Group stress test examples (#4289) 2022-04-10 02:05:21 +00:00
transform_hierarchy.rs Add transform hierarchy stress test (#4170) 2022-03-21 20:36:46 +00:00