fix subtract

This commit is contained in:
Stewart Allen 2022-04-20 17:26:01 -04:00
commit b82c411313
4 changed files with 10 additions and 6 deletions

View file

@ -31,6 +31,9 @@ const CSG = {
},
toPositionArray(geom) {
if (!geom || geom.length === 0) {
return [].toFloat32();
}
const out = [];
const poly = jscadModeling.geometries.geom3
.toPolygons(geom)