[orx-triangulation] Fix typo in convex hull computation (#291)
This commit is contained in:
committed by
GitHub
parent
2cab34abce
commit
e3c3ab7c87
@@ -71,7 +71,7 @@ class DelaunayTriangulation(val points: List<Vector2>) {
|
|||||||
|
|
||||||
fun hull() = contour {
|
fun hull() = contour {
|
||||||
for (h in delaunay.hull) {
|
for (h in delaunay.hull) {
|
||||||
moveOrLineTo(points[2 * h])
|
moveOrLineTo(points[h])
|
||||||
}
|
}
|
||||||
close()
|
close()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user