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