# | Line 5 | Line 5 | |
---|---|---|
5 | } | |
6 | ||
7 | tilt_ang = Acos(Kz) / DEGREE; | |
8 | < | tilt_xang = Asin(Jy/sqrt(Jy*Jy+Jz*Jz)) / DEGREE; |
8 | > | tilt_xang = if(Jy*Jy-FTINY, Asin(Jy/sqrt(Jy*Jy+Jz*Jz))/DEGREE, 0); |
9 | ||
10 | tilt_ang2 = tri(tilt_ang, 90); | |
11 | tilt_xang2 = tri(tilt_xang, 90); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |