mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
refactor
This commit is contained in:
@@ -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)
|
||||
];
|
||||
];
|
Reference in New Issue
Block a user