bevy/crates/bevy_pbr/src
KDecay 7a7f097485 Move Size to bevy_ui (#4285)
# Objective

- Related #4276.
- Part of the splitting process of #3503.

## Solution

- Move `Size` to `bevy_ui`.

## Reasons

- `Size` is only needed in `bevy_ui` (because it needs to use `Val` instead of `f32`), but it's also used as a worse `Vec2`  replacement in other areas.
- `Vec2` is more powerful than `Size` so it should be used whenever possible.
- Discussion in #3503.

## Changelog

### Changed

- The `Size` type got moved from `bevy_math` to `bevy_ui`.

## Migration Guide

- The `Size` type got moved from `bevy::math` to `bevy::ui`. To migrate you just have to import `bevy::ui::Size` instead of `bevy::math::Math` or use the `bevy::prelude` instead.

Co-authored-by: KDecay <KDecayMusic@protonmail.com>
2022-04-25 13:54:46 +00:00
..
render Move Size to bevy_ui (#4285) 2022-04-25 13:54:46 +00:00
alpha.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bundle.rs add Visibility for lights (#3958) 2022-03-05 03:23:01 +00:00
lib.rs Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00
light.rs bevy_pbr: Fix ClusterConfig::None (#4483) 2022-04-15 16:05:59 +00:00
material.rs Make MaterialPipelineKey<T> fields public (#4508) 2022-04-18 10:11:14 +00:00
pbr_material.rs Use storage buffers for clustered forward point lights (#3989) 2022-04-07 16:16:35 +00:00
wireframe.rs ParamSet for conflicting SystemParam:s (#2765) 2022-03-29 23:39:38 +00:00