From 3d7c2c6f85600b947c95b9d0d204045ea52df15d Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 5 Apr 2022 11:44:16 +0800 Subject: [PATCH] move --- {test => src}/util/rands_disk.scad | 0 {test => src}/util/rands_sphere.scad | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {test => src}/util/rands_disk.scad (100%) rename {test => src}/util/rands_sphere.scad (96%) diff --git a/test/util/rands_disk.scad b/src/util/rands_disk.scad similarity index 100% rename from test/util/rands_disk.scad rename to src/util/rands_disk.scad diff --git a/test/util/rands_sphere.scad b/src/util/rands_sphere.scad similarity index 96% rename from test/util/rands_sphere.scad rename to src/util/rands_sphere.scad index 11cbb19e..71db9598 100644 --- a/test/util/rands_sphere.scad +++ b/src/util/rands_sphere.scad @@ -1,4 +1,4 @@ -use ; +use ; function rands_sphere(radius, value_count, seed = undef) = let(r_nums = is_undef(seed) ? rands(0, 1, value_count * 2) : rands(0, 1, value_count * 2, seed))