checkpoint belt work

This commit is contained in:
Stewart Allen 2021-01-09 19:10:39 -05:00
commit 44d54491d7
6 changed files with 103 additions and 116 deletions

View file

@ -273,11 +273,13 @@
for (let top of slices[0].tops) {
bounds.merge(top.poly.bounds);
}
widget.belt = {
offset_y: bounds.miny,
pos_y: sdev.bedDepth / 2 + widget.track.pos.y,
ypos: widget.belt.ypos
};
widget.belt.miny = -bounds.miny;
// widget.belt.yy2 = sdev.bedDepth / 2 + widget.track.pos.y;
// widget.belt = {
// offset_y: bounds.miny,
// pos_y: sdev.bedDepth / 2 + widget.track.pos.y,
// ypos: widget.belt.ypos
// };
}
// report slicing complete