bevy/crates/bevy_render
Alix Bott e36c9b6cf0 Add conversions from Color to u32 (#4088)
# Objective

- `Mesh::ATTRIBUTE_COLOR` expects colors as `u32`s but there is no function for easy conversion.
- See https://github.com/bevyengine/bevy/pull/4037#pullrequestreview-894448677

## Solution

- Added `Color::as_rgba_u32` and `Color::as_linear_rgba_u32`
2022-03-08 00:46:03 +00:00
..
src Add conversions from Color to u32 (#4088) 2022-03-08 00:46:03 +00:00
Cargo.toml Update Hexasphere to 7.0.0 (#4001) 2022-02-21 23:49:07 +00:00