1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 01:04:07 +02:00

formatting

This commit is contained in:
Justin Lin
2017-05-19 08:25:18 +08:00
parent 251c119d76
commit 963bdcf74d

View File

@@ -3,6 +3,6 @@ function __angy_angz(p1, p2) =
dx = p2[0] - p1[0],
dy = p2[1] - p1[1],
dz = p2[2] - p1[2],
za = atan2(dy, dx),
ya = atan2(dz, sqrt(pow(dx, 2) + pow(dy, 2)))
ya = atan2(dz, sqrt(pow(dx, 2) + pow(dy, 2))),
za = atan2(dy, dx)
) [ya, za];