fix: misleading comment

This commit is contained in:
Mészáros Gergely 2021-08-12 01:33:14 +02:00
parent 07ff6d030f
commit 468d17da4e

View file

@ -15,7 +15,7 @@ class Voronoi {
// Half-edges are the indices into the delaunator outputs:
// delaunay.triangles[e] gives the point ID where the half-edge starts
// delaunay.triangles[e] returns either the opposite half-edge in the adjacent triangle, or -1 if there's not an adjacent triangle.
// delaunay.halfedges[e] returns either the opposite half-edge in the adjacent triangle, or -1 if there's not an adjacent triangle.
for (let e = 0; e < this.delaunay.triangles.length; e++) {
const p = this.delaunay.triangles[this.nextHalfedge(e)];