X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fsaturn.cxx;h=8aed124809573ab2a4731602c5071944a38fa870;hb=598b64fa9569c16878c904e344e2e2775e210c42;hp=0f94f6403b58b968589d15617591007a270d8bef;hpb=82459a2802a939434f9fc5b88d2b2aea58f0043d;p=simgear.git diff --git a/simgear/ephemeris/saturn.cxx b/simgear/ephemeris/saturn.cxx index 0f94f640..8aed1248 100644 --- a/simgear/ephemeris/saturn.cxx +++ b/simgear/ephemeris/saturn.cxx @@ -15,18 +15,14 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * $Id$ **************************************************************************/ -#ifdef __BORLANDC__ -# define exception c_exception -#endif -#include +#include #include "saturn.hxx" @@ -67,7 +63,7 @@ void Saturn::updatePosition(double mjd, Star *ourSun) { CelestialBody::updatePosition(mjd, ourSun); - double actTime = fgCalcActTime(mjd); + double actTime = sgCalcActTime(mjd); double ir = 0.4897394; double Nr = 2.9585076 + 6.6672E-7*actTime; double B = asin (sin(declination) * cos(ir) -