1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 16:54:23 +02:00
This commit is contained in:
Justin Lin
2022-03-11 15:29:15 +08:00
parent ffbb7c5db4
commit 32f44ec9c1

View File

@@ -13,5 +13,5 @@ function spherical_coordinate(point) =
[
norm(point),
atan2(point.y, point.x),
atan2(sqrt(point.x ^ 2 + point.y ^ 2), point.z)
atan2(norm([point.x, point.y]), point.z)
];