Comparing version 0.10.3 to 0.10.4
@@ -224,3 +224,3 @@ | ||
convert.edges_vertices_to_vertices_edges_sorted(fold); | ||
return convert.vertices_edges_to_faces_vertices(fold); | ||
return convert.vertices_edges_to_faces_vertices_edges(fold); | ||
}; | ||
@@ -227,0 +227,0 @@ |
@@ -310,13 +310,4 @@ var RepeatedPointsDS, filter, geom, | ||
*/ | ||
var i, vertex; | ||
i = geom.closestIndex(coords, (function() { | ||
var k, len, ref, results; | ||
ref = fold.vertices_coords; | ||
results = []; | ||
for (k = 0, len = ref.length; k < len; k++) { | ||
vertex = ref[k]; | ||
results.push(vertex); | ||
} | ||
return results; | ||
})()); | ||
var i; | ||
i = geom.closestIndex(coords, fold.vertices_coords); | ||
if ((i != null) && epsilon >= geom.dist(coords, fold.vertices_coords[i])) { | ||
@@ -323,0 +314,0 @@ return i; |
{ | ||
"name": "fold", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"description": "FOLD file format for origami models, crease patterns, etc.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
4288345
120
3
5482