1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-07 15:26:39 +02:00

remove params

This commit is contained in:
Justin Lin
2020-03-31 10:43:46 +08:00
parent 2f8c924c26
commit 5401b718b7
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ function _nz_worley2_classic(p, nbrs, dist) =
)
sorted[0];
function _nz_worley2_border(p, nbrs, dist) =
function _nz_worley2_border(p, nbrs) =
let(
cells = [
for(nbr = nbrs)
@@ -43,5 +43,5 @@ function _nz_worley2(p, seed, cell_w, dist) =
fcord = [floor(p[0] / cell_w), floor(p[1] / cell_w)],
nbrs = _neighbors(fcord, seed, cell_w)
)
dist == "border" ? _nz_worley2_border(p, nbrs, dist) :
dist == "border" ? _nz_worley2_border(p, nbrs) :
_nz_worley2_classic(p, nbrs, dist);

View File

@@ -28,7 +28,7 @@ function _nz_worley3_classic(p, nbrs, dist) =
)
sorted[0];
function _nz_worley3_border(p, nbrs, dist) =
function _nz_worley3_border(p, nbrs) =
let(
cells = [
for(nbr = nbrs)
@@ -46,5 +46,5 @@ function _nz_worley3(p, seed, cell_w, dist) =
fcord = [floor(p[0] / cell_w), floor(p[1] / cell_w), floor(p[2] / cell_w)],
nbrs = _neighbors(fcord, seed, cell_w)
)
dist == "border" ? _nz_worley3_border(p, nbrs, dist) :
dist == "border" ? _nz_worley3_border(p, nbrs) :
_nz_worley3_classic(p, nbrs, dist);