mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 16:26:47 +02:00
refactor
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
function spherical_coordinate(point) =
|
function spherical_coordinate(point) =
|
||||||
// mathematics [r, theta, phi]
|
// mathematics [r, theta, phi]
|
||||||
point == [0, 0, 0] ? [0, 0, 0] :
|
point == [0, 0, 0] ? point :
|
||||||
let(r = norm(point))
|
let(r = norm(point))
|
||||||
[
|
[
|
||||||
r,
|
r,
|
||||||
|
Reference in New Issue
Block a user