Skip to content

Commit

Permalink
initialize (neurolabusc/nii2mesh#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Dec 5, 2022
1 parent cadfc08 commit c37a5cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified a.out.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion quadric.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ void quadric_simplify_mesh(vec3d **vs, vec3i **ts, int* nvert, int *ntri, int ta
lossy = false;
max_iter = 1000;
}
int iterationStartCount;
int iterationStartCount = 0;
for (int iteration = 0; iteration < max_iter; iteration ++) {
if ((lossy) && ((triangle_count-deleted_triangles)<=target_count)) {
if (!finishLossless) break;
Expand Down

0 comments on commit c37a5cb

Please sign in to comment.