1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-19 04:51:26 +02:00

radius default to 1

This commit is contained in:
Justin Lin
2020-10-26 14:51:46 +08:00
parent 53887f6048
commit 4569b2760b

View File

@@ -1,4 +1,4 @@
function fibonacci_lattice(n, radius, dir = "CT_CLK") =
function fibonacci_lattice(n, radius = 1, dir = "CT_CLK") =
let(
toDegrees = 180 / PI,
phi = PI * (3 - sqrt(5)),