update raster-path dep, fix progress reporting
This commit is contained in:
parent
5ac8c63d54
commit
0d8284c41f
4 changed files with 3 additions and 5 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue