Skip to content

Commit

Permalink
Fix a bug closing triangles.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 9, 2012
1 parent 64803d9 commit 92c7a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geodesic/geodesic.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
type: "MultiPolygon",
coordinates: subdivideFaces(~~n).map(function(face) {
face = face.map(project);
face.push(face[2]);
face.push(face[0]);
return [face];
})
};
Expand Down

0 comments on commit 92c7a64

Please sign in to comment.