1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-20 22:21:52 +02:00
This commit is contained in:
Justin Lin 2022-05-10 06:59:36 +08:00
parent 997857b596
commit b891640014

View File

@ -10,7 +10,7 @@
function spherical_coordinate(point) =
// mathematics [r, theta, phi]
point == [0, 0, 0] ? [0, 0, 0] :
point == [0, 0, 0] ? point :
let(r = norm(point))
[
r,