[orx-boofcv] Fix DemoSimplified01.kt
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user