mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +02:00
delete
This commit is contained in:
@@ -18,7 +18,6 @@ function _neighbors(fcord, seed, cell_w) = [
|
|||||||
function _nz_worley2_classic(p, nbrs, dist) =
|
function _nz_worley2_classic(p, nbrs, dist) =
|
||||||
min([
|
min([
|
||||||
for(nbr = nbrs)
|
for(nbr = nbrs)
|
||||||
if(!is_undef(nbr[1])) // Here's a workaround for a weired undef problem. bug of 2019.05?
|
|
||||||
_distance(nbr, p, dist)
|
_distance(nbr, p, dist)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -26,7 +25,6 @@ function _nz_worley2_border(p, nbrs, dist) =
|
|||||||
let(
|
let(
|
||||||
dists = [
|
dists = [
|
||||||
for(nbr = nbrs)
|
for(nbr = nbrs)
|
||||||
if(!is_undef(nbr[1])) // Here's a workaround for a weired undef problem. bug of 2019.05?
|
|
||||||
[nbr[0], nbr[1], norm(nbr - p)]
|
[nbr[0], nbr[1], norm(nbr - p)]
|
||||||
],
|
],
|
||||||
sorted = sort(dists, by = "z"),
|
sorted = sort(dists, by = "z"),
|
||||||
|
@@ -21,7 +21,6 @@ function _neighbors(fcord, seed, cell_w) = [
|
|||||||
function _nz_worley3_classic(p, nbrs, dist) =
|
function _nz_worley3_classic(p, nbrs, dist) =
|
||||||
min([
|
min([
|
||||||
for(nbr = nbrs)
|
for(nbr = nbrs)
|
||||||
if(!is_undef(nbr[1])) // Here's a workaround for a weired undef problem. bug of 2019.05?
|
|
||||||
_distance(nbr, p, dist)
|
_distance(nbr, p, dist)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@@ -29,7 +28,6 @@ function _nz_worley3_border(p, nbrs, dist) =
|
|||||||
let(
|
let(
|
||||||
dists = [
|
dists = [
|
||||||
for(nbr = nbrs)
|
for(nbr = nbrs)
|
||||||
if(!is_undef(nbr[1])) // Here's a workaround for a weired undef problem. bug of 2019.05?
|
|
||||||
[nbr[0], nbr[1], nbr[2], norm(nbr - p)]
|
[nbr[0], nbr[1], nbr[2], norm(nbr - p)]
|
||||||
],
|
],
|
||||||
sorted = sort(dists, by = "idx", idx = 3),
|
sorted = sort(dists, by = "idx", idx = 3),
|
||||||
|
Reference in New Issue
Block a user