fix tolerance/resolution for topo3 gpu raster mesh
This commit is contained in:
parent
f271fa0fc8
commit
244969ef5f
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ export class Topo {
|
|||
let xStep = density;
|
||||
let yStep = Math.round(toolStep / resolution);
|
||||
let epsilon = 10e-5;
|
||||
let terrain = await gpu.rasterizeMesh(vertices, tolerance, 0, wbounds);
|
||||
let terrain = await gpu.rasterizeMesh(vertices, resolution, 0, wbounds);
|
||||
let { positions } = terrain;
|
||||
let output = await gpu.generatePlanarToolpath(
|
||||
positions,
|
||||
|
|
|
|||
Loading…
Reference in a new issue