mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +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 |