Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.77k stars 821 forks source link

how come useTopocentricCoordinates becomes false when calculating eclipses? #3861

Closed testori1972 closed 2 months ago

testori1972 commented 2 months ago

and if setUseTopocentricCoordinates becomes false in the script: /src/core/SolarEclipseComputer.cpp in column: 535, will ra/dec be reversed or will it still be the same?

alex-w commented 2 months ago

Where you see inverting of coordinates?

gzotti commented 2 months ago

Please stop raising issues when you have mere questions about your code understanding. 'Issues' are for bugs or feature requests. We may discuss code in 'Discussions'.

setUseTopocentricCoordinates becomes false in this very line. No 'if'. On purpose because it has to become false here. The next line then updates all positions. This is the purpose of this next line.