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

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