From 51b8c3823099c97eef9cbae82f2d8aa36b9eabcb Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Mon, 3 Aug 2020 09:38:37 +0200 Subject: [PATCH] Bump to OPENRNDR 0.3.44-rc.8 --- build.gradle | 2 +- openrndr-demos/src/demo/kotlin/DemoContourIntersections01.kt | 2 +- openrndr-demos/src/demo/kotlin/DemoContourIntersections02.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index d2efe4aa..9a1c135a 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ buildscript { apply plugin: 'org.jetbrains.dokka' project.ext { - openrndrVersion = openrndrUseSnapshot? "0.4.0-SNAPSHOT" : "0.3.44-rc.7" + openrndrVersion = openrndrUseSnapshot? "0.4.0-SNAPSHOT" : "0.3.44-rc.8" kotlinVersion = "1.3.72" spekVersion = "2.0.11" libfreenectVersion = "0.5.7-1.5.3" diff --git a/openrndr-demos/src/demo/kotlin/DemoContourIntersections01.kt b/openrndr-demos/src/demo/kotlin/DemoContourIntersections01.kt index 7bac9a49..29cd936d 100644 --- a/openrndr-demos/src/demo/kotlin/DemoContourIntersections01.kt +++ b/openrndr-demos/src/demo/kotlin/DemoContourIntersections01.kt @@ -19,7 +19,7 @@ fun main() { if (ints.isEmpty()) { drawer.contour(c2) } else { - (ints + ints.take(1)).map { it.contourTB }.zipWithNext().forEach { + (ints + ints.take(1)).map { it.b.contourT }.zipWithNext().forEach { val end = if (it.second <= it.first) it.second + 1.0 else it.second val sub = c2.sub(it.first, end) val l = sub.length diff --git a/openrndr-demos/src/demo/kotlin/DemoContourIntersections02.kt b/openrndr-demos/src/demo/kotlin/DemoContourIntersections02.kt index 2b53aa87..88a06acb 100644 --- a/openrndr-demos/src/demo/kotlin/DemoContourIntersections02.kt +++ b/openrndr-demos/src/demo/kotlin/DemoContourIntersections02.kt @@ -24,7 +24,7 @@ fun main() { drawer.contour(r) } else { drawer.stroke = ColorRGBa.WHITE - ints.map { it.contourTB }.let { it + it.take(1) }.zipWithNext().forEach { + ints.map { it.b.contourT }.let { it + it.take(1) }.zipWithNext().forEach { val end = if (it.second <= it.first) it.second + 1.0 else it.second val sub = r.sub(it.first, end) val length = sub.length