From 3f9cf039c300c3255752a03c5fa4e2de18bd48ac Mon Sep 17 00:00:00 2001 From: Rein van der Woerd Date: Tue, 25 Feb 2020 13:39:58 +0100 Subject: [PATCH] Removed my noise filters GUI tests --- orx-noise/build.gradle | 4 ---- orx-noise/src/test/kotlin/TestSimplex.kt | 29 ----------------------- orx-noise/src/test/kotlin/TestWorley.kt | 30 ------------------------ 3 files changed, 63 deletions(-) delete mode 100644 orx-noise/src/test/kotlin/TestSimplex.kt delete mode 100644 orx-noise/src/test/kotlin/TestWorley.kt diff --git a/orx-noise/build.gradle b/orx-noise/build.gradle index 03c037bc..3cc46fa0 100644 --- a/orx-noise/build.gradle +++ b/orx-noise/build.gradle @@ -1,7 +1,3 @@ dependencies { - compile "org.openrndr:openrndr-core:$openrndrVersion" - compile "org.openrndr:openrndr-gl3:$openrndrVersion" - compile "org.openrndr:openrndr-gl3-natives-macos:$openrndrVersion" implementation project(":orx-shader-phrases") - implementation project(":orx-gui") } \ No newline at end of file diff --git a/orx-noise/src/test/kotlin/TestSimplex.kt b/orx-noise/src/test/kotlin/TestSimplex.kt deleted file mode 100644 index e3558dee..00000000 --- a/orx-noise/src/test/kotlin/TestSimplex.kt +++ /dev/null @@ -1,29 +0,0 @@ -import org.openrndr.application -import org.openrndr.draw.renderTarget -import org.openrndr.extra.gui.* -import org.openrndr.extra.noise.filters.SimplexNoise3D - -fun main() = application { - configure { - width = 1000 - height = 1000 - } - - program { - val gui = GUI() - - val simplexNoise3D = SimplexNoise3D() - val target = renderTarget(width, height) { - colorBuffer() - } - - gui.add(simplexNoise3D) - - extend(gui) - - extend { - simplexNoise3D.apply(target.colorBuffer(0), target.colorBuffer(0)) - drawer.image(target.colorBuffer(0)) - } - } -} \ No newline at end of file diff --git a/orx-noise/src/test/kotlin/TestWorley.kt b/orx-noise/src/test/kotlin/TestWorley.kt deleted file mode 100644 index 91d6f36d..00000000 --- a/orx-noise/src/test/kotlin/TestWorley.kt +++ /dev/null @@ -1,30 +0,0 @@ -import org.openrndr.application -import org.openrndr.draw.renderTarget -import org.openrndr.extra.noise.filters.CellNoise -import org.openrndr.extra.noise.filters.WorleyNoise -import org.openrndr.extra.gui.* - -fun main() = application { - configure { - width = 1000 - height = 1000 - } - - program { - val gui = GUI() - - val worleyNoise = WorleyNoise() - val target = renderTarget(width, height) { - colorBuffer() - } - - gui.add(worleyNoise) - - extend(gui) - - extend { - worleyNoise.apply(target.colorBuffer(0), target.colorBuffer(0)) - drawer.image(target.colorBuffer(0)) - } - } -} \ No newline at end of file