[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Mon Dec 8 23:58:02 CET 2008
SVN commit 894611 by asimha:
Equirectangular projection should be de-refracted as well. As of now,
I have no way of testing that this works, but it is pretty clear that
this has to be there.
CCMAIL: kstars-devel at kde.org
M +1 -1 skymap.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #894610:894611
@@ -1359,12 +1359,12 @@
az.setRadians( dx + focus()->az()->radians() );
alt.setRadians( dy + focus()->alt()->radians() );
result.setAz( az.reduce() );
+ if ( Options::useRefraction() ) alt.setD( refract( &alt, false ).Degrees() ); //find true alt from apparent alt
result.setAlt( alt );
result.HorizontalToEquatorial( LST, lat );
return result;
} else {
dms ra, dec;
-
ra.setRadians( dx + focus()->ra()->radians() );
dec.setRadians( dy + focus()->dec()->radians() );
result.set( ra.reduce(), dec );
More information about the Kstars-devel
mailing list