remove FloatPacker and cutPolys
This commit is contained in:
parent
146c8d93b7
commit
d957c4ce7f
2 changed files with 1 additions and 63 deletions
|
|
@ -183,7 +183,6 @@ export async function cam_slice(settings, widget, onupdate, ondone) {
|
|||
color,
|
||||
computeShadows,
|
||||
contourPolys,
|
||||
cutPolys,
|
||||
cutTabs,
|
||||
dark,
|
||||
isIndexed,
|
||||
|
|
@ -784,12 +783,6 @@ function cutTabs(tabs, offset) {
|
|||
return out;
|
||||
}
|
||||
|
||||
function cutPolys(polys, offset) {
|
||||
let noff = [];
|
||||
offset.forEach(op => noff.appendAll( op.cut(POLY.union(polys, 0, true), true) ));
|
||||
return POLY.reconnect(noff);
|
||||
}
|
||||
|
||||
function contourPolys(widget, polys) {
|
||||
const raycaster = new THREE.Raycaster();
|
||||
raycaster.ray.direction.set(0, 0, -1); // ray pointing down Z
|
||||
|
|
|
|||
Loading…
Reference in a new issue