1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-18 12:31:17 +02:00
This commit is contained in:
Justin Lin
2022-03-10 20:25:27 +08:00
parent 9def71f194
commit fa63d1eec6

View File

@@ -1,6 +1,6 @@
function __angy_angz(p1, p2) =
let(v = p2 - p1)
[
atan2(v.z, sqrt(v.x ^ 2 + v.y ^ 2)),
atan2(v.z, norm([v.x, v.y])),
atan2(v.y, v.x)
];