-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add no_std
support to bevy_color
#16633
Add no_std
support to bevy_color
#16633
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to say, I'm a bit surprised that stuff like rounding numbers is not available in core
and has to be imported from bevy_math
.
But the changes look fine to me :)
Yeah they were in |
Objective
no_std
Bevy #15460Solution
std
(default)alloc
encase
(default)libm
Testing
compile-check-no-std
CI commandNotes
ColorCurve
requiresalloc
due to how the underlyingEvenCore
type works.Srgba::to_hex
requiresalloc
to return aString
.