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

@@ -11,7 +11,6 @@ import org.openrndr.extra.color.spaces.toOKHSLa
import org.openrndr.extra.parameters.*
import org.openrndr.math.Vector2
import org.openrndr.math.clamp
import org.openrndr.math.mod_
import kotlin.math.*
/*

View File

@@ -2,9 +2,7 @@
package org.openrndr.extra.color.statistics
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.ColorBuffer
import kotlin.jvm.JvmName
import kotlin.random.Random
internal fun ColorRGBa.binIndex(binCount: Int): Triple<Int, Int, Int> {
val rb = (r * binCount).toInt().coerceIn(0, binCount - 1)

View File

@@ -1,7 +1,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.*
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.camera.Orbital
import org.openrndr.extra.color.spaces.ColorOKLCHa
import org.openrndr.extra.meshgenerators.sphereMesh

View File

@@ -1,7 +1,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.*
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.camera.Orbital
import org.openrndr.extra.color.spaces.ColorOKLCHa
import org.openrndr.extra.meshgenerators.sphereMesh

View File

@@ -3,7 +3,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.palettes.rangeTo
import org.openrndr.extra.color.spaces.toHSLUVa
import org.openrndr.math.Vector2

View File

@@ -2,11 +2,7 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.isolated
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.palettes.colorSequence
import org.openrndr.extra.color.palettes.rangeTo
import org.openrndr.extra.color.presets.CORAL
import org.openrndr.extra.color.spaces.toHSLUVa
fun main() = application {

View File

@@ -3,7 +3,6 @@ import org.openrndr.color.ColorRGBa
import org.openrndr.draw.DrawPrimitive
import org.openrndr.draw.isolated
import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.camera.Orbital
import org.openrndr.extra.color.palettes.rangeTo
import org.openrndr.extra.color.spaces.toHSLUVa

View File

@@ -6,7 +6,6 @@ import org.openrndr.color.ColorRGBa
import org.openrndr.color.rgb
import org.openrndr.draw.isolated
import org.openrndr.draw.loadFont
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.spaces.ColorHSLUVa
import org.openrndr.math.Vector2
import org.openrndr.shape.Rectangle

View File

@@ -2,7 +2,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.spaces.toHSLUVa
import org.openrndr.math.Polar
import org.openrndr.math.Vector2

View File

@@ -2,7 +2,6 @@
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.statistics.calculateHistogramRGB
fun main() = application {

View File

@@ -2,7 +2,6 @@
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.statistics.calculateHistogramRGB
import kotlin.math.pow

View File

@@ -2,7 +2,6 @@
import org.openrndr.application
import org.openrndr.draw.loadImage
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.statistics.calculateHistogramRGB
fun main() = application {

View File

@@ -1,12 +1,9 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.isolated
import org.openrndr.extra.color.presets.NAVY
import org.openrndr.extra.color.spaces.OKHSV
import org.openrndr.extra.color.tools.hue
import org.openrndr.extra.color.tools.mixHue
import org.openrndr.extra.color.tools.withHue
import kotlin.math.cos
fun main() {
application {

View File

@@ -2,7 +2,6 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.color.spaces.ColorXSLUVa
import org.openrndr.extra.color.spaces.toHSLUVa
import org.openrndr.math.Polar