wasm subtract still has bugs

This commit is contained in:
Stewart Allen 2021-07-11 01:19:01 -04:00
commit a6abf2d76b
2 changed files with 2 additions and 2 deletions

View file

@ -898,7 +898,7 @@
let ra = a[i]; let ra = a[i];
let rb = b[i]; let rb = b[i];
// test circularity // test circularity
if (Math.abs(ra.c - rb.c) > 0.001) { if (Math.abs(ra.c - rb.c) > 0.0005) {
return false; return false;
} }
// test perimeter // test perimeter

View file

@ -1058,7 +1058,7 @@
} }
POLY.subtract(topInner, downInner, bridges, flats, slice.z, minArea, { POLY.subtract(topInner, downInner, bridges, flats, slice.z, minArea, {
wasm: options.wasm // wasm: options.wasm
}); });
}; };