1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00
This commit is contained in:
Justin Lin
2022-04-24 20:50:10 +08:00
parent c4d9674a0e
commit 7be7badbe0

View File

@@ -12,7 +12,7 @@ function spherical_coordinate(point) =
// mathematics [r, theta, phi]
let(r = norm(point))
[
norm(point),
r,
atan2(point.y, point.x),
acos(point.z / r)
];
];