1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
This commit is contained in:
Justin Lin 2022-07-19 11:32:27 +08:00
parent f278d7430a
commit 756fde7c0f

View File

@ -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])