X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fephemeris%2Fsaturn.cxx;h=0038a290136dadafd0112fb1235e4d58738dee06;hb=aefe9bc11682f39b3936b9f01a0d37e9d6428078;hp=0f94f6403b58b968589d15617591007a270d8bef;hpb=82459a2802a939434f9fc5b88d2b2aea58f0043d;p=simgear.git diff --git a/simgear/ephemeris/saturn.cxx b/simgear/ephemeris/saturn.cxx index 0f94f640..0038a290 100644 --- a/simgear/ephemeris/saturn.cxx +++ b/simgear/ephemeris/saturn.cxx @@ -15,17 +15,13 @@ * 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 "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) -