wasm subtract still has bugs
This commit is contained in:
parent
a9e22e802f
commit
a6abf2d76b
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue