openrndr / orx

A growing library of assorted data structures, algorithms and utilities for OPENRNDR
https://openrndr.org
BSD 2-Clause "Simplified" License
121 stars 37 forks source link

Clean up orx-color #260

Closed Vechro closed 2 years ago

Vechro commented 2 years ago

Rename ColorOKHSL.kt file to ColorOKHSLa.kt and clean up code. Rename ColorOKHSV.kt file to ColorOKHSVa.kt and clean up code. ColorOKHSLa#toRGBa result will now always be in SRGB linearity and will include the alpha value of the receiver. ColorOKLABa#toRGBa result now includes the alpha value of the receiver.

If these commits are squashed, it is likely that git will no longer detect that the files are renamed.