-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Milestone
Description
Bevy version
main
What you did
Try to swap some code using Hsla to Oklcha.
What went wrong
Expected with_hue calls to continue working, because Oklcha also has hue.
But for this color space, they are with_h, with_l, and with_c.
Additional information
I think that Oklcha is the odd one out and that all other spaces use full names, but we should check them all and make them consistent.
Also, maybe this is intentional. I don't know much about Oklch. Are the lch strictly "lightless" "chroma" and "hue"?.
Oklaba also has "short with_ methods" but if you expanded them, I assume they would end up like lightness, a, b.
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy