mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 11:03:06 +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.), } } ``` |
||
---|---|---|
.. | ||
animatable.rs | ||
graph.rs | ||
lib.rs | ||
transition.rs | ||
util.rs |