mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
dcb8a13b22
# Objective - Fixes #12543 ## Solution - Removed `ClampColor` ## Testing - CI Passed --- ## Migration Guide Manually clamp the various colour components yourself if this behaviour is still required. ```rust fn clamped_srgba(color: Srgba) -> Srgba { Srgba { red: color.red.clamp(0., 1.), green: color.green.clamp(0., 1.), blue: color.blue.clamp(0., 1.), alpha: color.alpha.clamp(0., 1.), } } ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |