Render closing loops for completed patterns
This commit is contained in:
parent
5f6eb40549
commit
8fbea3cca7
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ fun makeZappy(
|
||||||
return if (dupIndices != null) {
|
return if (dupIndices != null) {
|
||||||
for ((i, pair) in barePoints.zipWithNext().withIndex()) {
|
for ((i, pair) in barePoints.zipWithNext().withIndex()) {
|
||||||
val (head, tail) = pair
|
val (head, tail) = pair
|
||||||
val tangent = tail.add(head.negated()).scale(readabilityOffset)
|
val tangent = tail.add(head.negated()).scale(READABILITY_OFFSET)
|
||||||
if (i != 0 && dupIndices.contains(i)) {
|
if (i != 0 && dupIndices.contains(i)) {
|
||||||
daisyChain.add(head.add(tangent))
|
daisyChain.add(head.add(tangent))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue