add raw vertex input in devel mode. stub in slice connect shadow test for performance over plain face union
This commit is contained in:
parent
7650ce0640
commit
9454eeb287
7 changed files with 55 additions and 10 deletions
|
|
@ -129,7 +129,7 @@ CAM.slice = function(settings, widget, onupdate, ondone) {
|
|||
// const merge = shadow.length;
|
||||
// const plus = shadows[minZabove].length;
|
||||
// const mark = Date.now();
|
||||
shadow = POLY.union([...shadow, ...shadows[minZabove]], 0.0011, true);
|
||||
shadow = POLY.union([...shadow, ...shadows[minZabove]], 0.001, true);
|
||||
// console.log({merge, plus, equals: shadow.length, time: Date.now() - mark});
|
||||
}
|
||||
return shadows[z] = POLY.setZ(shadow, z);
|
||||
|
|
|
|||
Loading…
Reference in a new issue