mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 01:04:07 +02:00
fix dir
This commit is contained in:
@@ -18,6 +18,6 @@ function tf_sphere(size, point, radius, angle = [180, 360]) =
|
|||||||
za_step = za / ylen,
|
za_step = za / ylen,
|
||||||
rza = za_step * y,
|
rza = za_step * y,
|
||||||
rzpt = [(radius + z) * cos(rza), (radius + z) * sin(rza), 0],
|
rzpt = [(radius + z) * cos(rza), (radius + z) * sin(rza), 0],
|
||||||
rxpt = rotate_p(rzpt, [180 - xa / xlen * x, 0, 0])
|
rxpt = rotate_p(rzpt, [-xa / xlen * x + xa, 0, 0])
|
||||||
)
|
)
|
||||||
rxpt;
|
rxpt;
|
Reference in New Issue
Block a user