Remove unused imports (#344)

This commit is contained in:
Abe Pazos
2024-06-24 10:02:34 +02:00
committed by GitHub
parent b7ee7dcf79
commit c5fb56626c
150 changed files with 127 additions and 304 deletions

View File

@@ -1,7 +1,6 @@
package org.openrndr.extra.palette
import org.openrndr.color.ColorRGBa
import org.openrndr.color.Linearity
// https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
fun getLuminance(color: ColorRGBa): Double = 0.2126 * color.r + 0.7152 * color.g + 0.0722 * color.b