Remove unused imports (#344)
This commit is contained in:
@@ -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.*
|
||||
|
||||
/*
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user