Changed #ifdef FILE_H to #ifdef _FILE_H

This commit is contained in:
curt
1998-01-22 02:59:23 +00:00
committed by Tim Moore
parent 24b5f05d5e
commit 327ccd93a4
7 changed files with 64 additions and 35 deletions

View File

@@ -23,6 +23,7 @@
**************************************************************************/
#include <math.h>
#include <string.h>
#include <Astro/orbits.h>
@@ -81,7 +82,7 @@ double fgCalcEccAnom(double M, double e)
do
{
E1 = E0 - (E0 - e * sin(E0) - M) / (1 - e * cos(E0));
diff = abs(E0 - E1);
diff = fabs(E0 - E1);
E0 = E1;
}
while (diff > fgDegToRad(0.001));
@@ -173,10 +174,13 @@ void fgSolarSystemUpdate(struct OrbElements *planet, struct fgTIME t)
/* $Log$
/* Revision 1.2 1998/01/19 19:26:58 curt
/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
/* This should simplify things tremendously.
/* Revision 1.3 1998/01/22 02:59:27 curt
/* Changed #ifdef FILE_H to #ifdef _FILE_H
/*
* Revision 1.2 1998/01/19 19:26:58 curt
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
* This should simplify things tremendously.
*
* Revision 1.1 1998/01/07 03:16:17 curt
* Moved from .../Src/Scenery/ to .../Src/Astro/
*