mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
dff6471049
# Objective Fix erroneous hue mixing in `Lcha` and `Oklcha`. Purple + Red == Green is the current behavior. ## Solution Use `crate::color_ops::lerp_hue` to handle the wrap-around at 360 degrees, the same way that `Hsla`, `Hsva`, and `Hwba` do it. ## Testing Game jamming, but tested that the workaround below produces correct-looking colors in my jam game. |
||
---|---|---|
.. | ||
crates/gen_tests | ||
docs | ||
src | ||
Cargo.toml | ||
README.md |