Skip to content

Conversation

@chompaa
Copy link
Member

@chompaa chompaa commented Mar 19, 2024

Objective

Fixes #12224.

Solution

  • Expand with_ methods for the Oklch to their full names.
  • Expand l to lightness in Oklaba comments.

Migration Guide

The following methods have been renamed for the Oklch color space:

  • with_l -> with_lightness.
  • with_c -> with_chroma.
  • with_h -> with_hue.

@pablo-lua pablo-lua added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change labels Mar 19, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Mar 19, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Mar 19, 2024
Merged via the queue into bevyengine:main with commit f38895a Mar 19, 2024
@BD103 BD103 added the A-Color Color spaces and color math label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Color Color spaces and color math A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Oklcha with_ methods are inconsistent with other color spaces

4 participants