[orx-boofcv] Fix DemoSimplified01.kt

This commit is contained in:
Edwin Jakobs
2024-01-14 10:08:16 +01:00
parent 7f26f5e5de
commit bec51b9e31
2 changed files with 4 additions and 4 deletions

View File

@@ -5,5 +5,6 @@ plugins {
dependencies { dependencies {
implementation(libs.openrndr.application) implementation(libs.openrndr.application)
implementation(libs.openrndr.math) implementation(libs.openrndr.math)
demoImplementation(project(":orx-shapes"))
api(libs.boofcv) api(libs.boofcv)
} }

View File

@@ -10,13 +10,12 @@ import org.openrndr.color.ColorRGBa
import org.openrndr.draw.ColorBuffer import org.openrndr.draw.ColorBuffer
import org.openrndr.draw.isolatedWithTarget import org.openrndr.draw.isolatedWithTarget
import org.openrndr.draw.renderTarget import org.openrndr.draw.renderTarget
import org.openrndr.extensions.SingleScreenshot import org.openrndr.extra.shapes.simplify.simplify
import org.openrndr.math.CatmullRomChain2 import org.openrndr.extra.shapes.splines.CatmullRomChain2
import org.openrndr.extra.shapes.splines.toContour
import org.openrndr.math.Vector2 import org.openrndr.math.Vector2
import org.openrndr.shape.Rectangle import org.openrndr.shape.Rectangle
import org.openrndr.shape.ShapeContour import org.openrndr.shape.ShapeContour
import org.openrndr.shape.simplify
import org.openrndr.shape.toContour
fun main() { fun main() {
application { application {