mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +02:00
refactor
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
use <../../util/rand.scad>;
|
use <../../util/rand.scad>;
|
||||||
|
|
||||||
function _assoc_lookup(array, key) =
|
function _assoc_lookup(array, key) =
|
||||||
let(idx = search([key], array)[0])
|
array[search([key], array)[0]][1];
|
||||||
array[idx][1];
|
|
||||||
|
|
||||||
// It doesn't use recursion to avoid recursion error.
|
// It doesn't use recursion to avoid recursion error.
|
||||||
function _join(str_lt) =
|
function _join(str_lt) =
|
||||||
|
Reference in New Issue
Block a user