Bump to OPENRNDR 0.3.44-rc.8

This commit is contained in:
Edwin Jakobs
2020-08-03 09:38:37 +02:00
parent c5c60db7c8
commit 51b8c38230
3 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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