bevy/crates/bevy_color
Zachary Harrold 972ca62831
bevy_color: Added Xyza Colour Space (#12079)
# Objective

Add XYZ colour space. This will be most useful as a conversion step when
working with other (more common) colour spaces. See
[Wikipedia](https://en.wikipedia.org/wiki/CIE_1931_color_space) for
details on this space.

## Solution

- Added `Xyza` to `Color` and as its own type.

---

## Changelog

- Added `Xyza` type.
- Added `Color::Xyza` variant.

## Migration Guide

- `Color` enum now has an additional member, `Xyza`. Convert it to any
other type to handle this case in match statements.
2024-02-24 18:49:51 +00:00
..
crates/gen_tests bevy_color: Added Xyza Colour Space (#12079) 2024-02-24 18:49:51 +00:00
src bevy_color: Added Xyza Colour Space (#12079) 2024-02-24 18:49:51 +00:00
Cargo.toml