1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-21 22:05:27 +02:00
This commit is contained in:
Justin Lin
2020-02-19 21:19:04 +08:00
parent be515c4162
commit 1492189de6

View File

@@ -18,6 +18,6 @@ function tf_sphere(size, point, radius, angle = [180, 360]) =
za_step = za / ylen,
rza = za_step * y,
rzpt = [(radius + z) * cos(rza), (radius + z) * sin(rza), 0],
rxpt = rotate_p(rzpt, [180 - fxa / xlen * x, 0, 0])
rxpt = rotate_p(rzpt, [180 - xa / xlen * x, 0, 0])
)
rxpt;