fix subtract
This commit is contained in:
parent
c7298d2a9f
commit
b82c411313
4 changed files with 10 additions and 6 deletions
|
|
@ -31,6 +31,9 @@ const CSG = {
|
|||
},
|
||||
|
||||
toPositionArray(geom) {
|
||||
if (!geom || geom.length === 0) {
|
||||
return [].toFloat32();
|
||||
}
|
||||
const out = [];
|
||||
const poly = jscadModeling.geometries.geom3
|
||||
.toPolygons(geom)
|
||||
|
|
|
|||
Loading…
Reference in a new issue