update raster-path dep, fix progress reporting

This commit is contained in:
Stewart Allen 2025-11-10 22:46:08 -05:00
commit 0d8284c41f
4 changed files with 3 additions and 5 deletions

View file

@ -206,7 +206,7 @@ export class Topo {
xStep,
yStep: 1,
zFloor: zBottom,
onProgress(pct) { onupdate(pct/100) }
onProgress(i,j) { onupdate(i/j) }
});
gpu.terminate();

View file

@ -74,8 +74,6 @@ self.get_raster_gpu = async function({ mode, resolution, rotationStep }) {
resolution,
rotationStep,
workerName: "/lib/gpu/raster-worker.js",
radialRotationOffset: -90,
trianglesPerTile: 15000,
quiet: false,
debug: true,
});