From ee0086343c6ee8b12866d8bdf8f7c7cb683e410c Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Wed, 19 Feb 2020 13:01:11 +0800 Subject: [PATCH] refactor --- examples/photo_sphere.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/photo_sphere.scad b/examples/photo_sphere.scad index e2cf22d7..27a22774 100644 --- a/examples/photo_sphere.scad +++ b/examples/photo_sphere.scad @@ -2,6 +2,7 @@ use ; radius = 50; thicnkess = 10; +angle = [180, 180]; invert = false; levels = [ [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], @@ -106,4 +107,4 @@ levels = [ [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255] ]; -sf_sphere(concat(levels, levels), radius, thicnkess, invert = invert); \ No newline at end of file +sf_sphere(levels, radius, thicnkess, angle, invert); \ No newline at end of file