mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Added current moon/sun positions to the RadarScreen
This commit is contained in:
1 parent
18f8ab517d
commit
b166e896c2
5 files changed
+72
-10
No files matched your search
+1
-1
@@ -114,7 +114,7 @@ object CelestialComputer {
|
||||
distance = 1.0 + ((obsSet[2] - ASTRONOMICAL_UNIT) / ASTRONOMICAL_UNIT),
|
||||
rangeRate = 1000.0 * obsSet[3],
|
||||
latitude = latLon[0].toDegrees(),
|
||||
longitude = 360.0 - latLon[1].toDegrees(),
|
||||
longitude = latLon[1].toDegrees().let { if (it > 180.0) it - 360.0 else it },
|
||||
rightAscension = raDec[0].toDegrees(),
|
||||
declination = raDec[1].toDegrees()
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user