[orx-shapes] Fix ShapeContour.roundCorners, add demo. Closes #333

This commit is contained in:
Edwin Jakobs
2024-05-04 10:36:39 +02:00
parent dec16a6ceb
commit e4f9903ffc
2 changed files with 26 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ fun ShapeContour.chamferCorners(
moveOrLineTo(q0)
chamfer(q0, s0.end, q1)
} else {
lineTo(s0.end)
moveOrLineTo(s0.end)
}
}
}