mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
rename
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use <../../util/rand.scad>;
|
||||
|
||||
function assoc_lookup(array, key) =
|
||||
function _assoc_lookup(array, key) =
|
||||
let(idx = search([key], array)[0])
|
||||
array[idx][1];
|
||||
|
||||
@@ -28,7 +28,7 @@ function _derive_p(base, rules, rules_pr, n, i = 0) =
|
||||
|
||||
function _derive1(base, rules) = _join([
|
||||
for(c = base)
|
||||
let(v = assoc_lookup(rules, c))
|
||||
let(v = _assoc_lookup(rules, c))
|
||||
is_undef(v) ? c : v
|
||||
]);
|
||||
|
||||
|
Reference in New Issue
Block a user