mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
bc2ddce432
# Objective - Simplify `Srgba` hex string parsing using std hex parsing functions and removing loops in favor of bitwise ops. This is a follow-up of the `bevy_color` upstream PR review: https://github.com/bevyengine/bevy/pull/12013#discussion_r1497408114 ## Solution - Reworked `Srgba::hex` to use `from_str_radix` and some bitwise ops; --------- Co-authored-by: Rob Parrett <robparrett@gmail.com> |
||
---|---|---|
.. | ||
crates/gen_tests | ||
src | ||
Cargo.toml |