Skip to content

Commit b394e7d

Browse files
committed
spelling: collinear
1 parent b7d0f9e commit b394e7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/geom/polygon/Earcut.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function linkedList(data, start, end, dim, clockwise) {
8585
return last;
8686
}
8787

88-
// eliminate colinear or duplicate points
88+
// eliminate collinear or duplicate points
8989
function filterPoints(start, end) {
9090
if (!start) return start;
9191
if (!end) end = start;
@@ -270,7 +270,7 @@ function splitEarcut(start, triangles, dim, minX, minY, invSize) {
270270
// split the polygon in two by the diagonal
271271
var c = splitPolygon(a, b);
272272

273-
// filter colinear points around the cuts
273+
// filter collinear points around the cuts
274274
a = filterPoints(a, a.next);
275275
c = filterPoints(c, c.next);
276276

0 commit comments

Comments
 (0)