fix re-shadow after index rotations, carry angle through synth points

This commit is contained in:
Stewart Allen 2022-11-08 14:46:40 -05:00
commit 3452297dc6
5 changed files with 26 additions and 21 deletions

View file

@ -247,9 +247,9 @@ CAM.slice = function(settings, widget, onupdate, ondone) {
let points = base.verticesToPoints(widget.getGeoVertices(true, true));
state.slicer = new kiri.cam_slicer(points, {
zlist: true,
zline: true,
nobucket: true // b/c negative Z when rotated
zline: true
});
shadows = {};
new CAM.OPS.shadow(state, { type: "shadow", silent: true }).slice(progress => {
// console.log('reshadow', progress.round(3));
});