From 756fde7c0f3bb79a6bc48bca5253a75ab9621fa2 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 19 Jul 2022 11:32:27 +0800 Subject: [PATCH] fix dir --- src/experimental/fibonacci_lattice2.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/fibonacci_lattice2.scad b/src/experimental/fibonacci_lattice2.scad index d24f14b0..94ff2da0 100644 --- a/src/experimental/fibonacci_lattice2.scad +++ b/src/experimental/fibonacci_lattice2.scad @@ -1,7 +1,7 @@ function fibonacci_lattice2(n, radius = 1, rt_dir = "CT_CLK") = let( g = (1 + sqrt(5)) / 2, - dir = rt_dir == "CT_CLK" ? 1 : -1 + dir = rt_dir == "CT_CLK" ? -1 : 1 ) [ for(i = [0:n - 1])