gSatWrapper.cpp   gSatWrapper.cpp 
skipping to change at line 117 skipping to change at line 117
returnedVector.set(satelliteSubPoint[0], satelliteSubPoint[ 1], satelliteSubPoint[2]); returnedVector.set(satelliteSubPoint[0], satelliteSubPoint[ 1], satelliteSubPoint[2]);
} }
else else
qWarning() << "gSatWrapper::getTEMEVel Method called without pSatellite initialized"; qWarning() << "gSatWrapper::getTEMEVel Method called without pSatellite initialized";
return returnedVector; return returnedVector;
} }
void gSatWrapper::updateEpoch() void gSatWrapper::updateEpoch()
{ {
double jul_utc = StelApp::getInstance().getCore()->getJDay(); double jul_utc = StelApp::getInstance().getCore()->getJD();
epoch = jul_utc; epoch = jul_utc;
if (pSatellite) if (pSatellite)
pSatellite->setEpoch(epoch); pSatellite->setEpoch(epoch);
} }
void gSatWrapper::setEpoch(double ai_julianDaysEpoch) void gSatWrapper::setEpoch(double ai_julianDaysEpoch)
{ {
epoch = ai_julianDaysEpoch; epoch = ai_julianDaysEpoch;
if (pSatellite) if (pSatellite)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/