StelObserver.cpp   StelObserver.cpp 
skipping to change at line 201 skipping to change at line 201
{ {
return getHomePlanet()->getRadius() + (currentLocation.altitude/(100 0*AU)); return getHomePlanet()->getRadius() + (currentLocation.altitude/(100 0*AU));
} }
Mat4d StelObserver::getRotAltAzToEquatorial(double jd) const Mat4d StelObserver::getRotAltAzToEquatorial(double jd) const
{ {
double lat = currentLocation.latitude; double lat = currentLocation.latitude;
// TODO: Figure out how to keep continuity in sky as reach poles // TODO: Figure out how to keep continuity in sky as reach poles
// otherwise sky jumps in rotation when reach poles in equatorial mo de // otherwise sky jumps in rotation when reach poles in equatorial mo de
// This is a kludge // This is a kludge
if( lat > 89.5 ) lat = 89.5; if( lat > 90.0 ) lat = 90.0;
if( lat < -89.5 ) lat = -89.5; if( lat < -90.0 ) lat = -90.0;
return Mat4d::zrotation((getHomePlanet()->getSiderealTime(jd)+curren tLocation.longitude)*M_PI/180.) return Mat4d::zrotation((getHomePlanet()->getSiderealTime(jd)+curren tLocation.longitude)*M_PI/180.)
* Mat4d::yrotation((90.-lat)*M_PI/180.); * Mat4d::yrotation((90.-lat)*M_PI/180.);
} }
Mat4d StelObserver::getRotEquatorialToVsop87(void) const Mat4d StelObserver::getRotEquatorialToVsop87(void) const
{ {
return getHomePlanet()->getRotEquatorialToVsop87(); return getHomePlanet()->getRotEquatorialToVsop87();
} }
SpaceShipObserver::SpaceShipObserver(const StelLocation& startLoc, const St elLocation& target, double atransitSeconds) : StelObserver(startLoc), SpaceShipObserver::SpaceShipObserver(const StelLocation& startLoc, const St elLocation& target, double atransitSeconds) : StelObserver(startLoc),
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/