1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-16 21:58:26 +01:00
This commit is contained in:
Justin Lin 2022-07-14 08:37:18 +08:00
parent 32995370d0
commit 7a6712d1b1

View File

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