From 6c9aa9527d62e55bd256dcedcd2463837f6e7cbd Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 15 Dec 1997 23:54:53 +0000 Subject: [PATCH] Add xgl wrappers for debugging. Generate terrain normals on the fly. --- Math/depend | 6 +++--- Math/fg_geodesy.c | 14 +++++++++++--- Math/polar.c | 10 +++++++--- Math/polar.h | 10 +++++++--- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/Math/depend b/Math/depend index 73d6b373..72561ba8 100644 --- a/Math/depend +++ b/Math/depend @@ -2,7 +2,7 @@ MAT3geom.o: MAT3geom.c mat3defs.h mat3.h MAT3inv.o: MAT3inv.c mat3defs.h mat3.h MAT3mat.o: MAT3mat.c mat3defs.h mat3.h MAT3vec.o: MAT3vec.c mat3.h -fg_geodesy.o: fg_geodesy.c fg_geodesy.h ../constants.h +fg_geodesy.o: fg_geodesy.c fg_geodesy.h ../Include/constants.h fg_random.o: fg_random.c fg_random.h -geotest.o: geotest.c ../constants.h fg_geodesy.h -polar.o: polar.c polar.h ../types.h ../constants.h +geotest.o: geotest.c ../Include/constants.h fg_geodesy.h +polar.o: polar.c polar.h ../Include/types.h ../Include/constants.h diff --git a/Math/fg_geodesy.c b/Math/fg_geodesy.c index ebc6073f..ddb97bf0 100644 --- a/Math/fg_geodesy.c +++ b/Math/fg_geodesy.c @@ -14,7 +14,7 @@ #include #include "fg_geodesy.h" -#include "../constants.h" +#include "../Include/constants.h" /* ONE_SECOND is pi/180/60/60, or about 100 feet at earths' equator */ @@ -140,6 +140,10 @@ void fgGeodToGeoc( double lat_geod, double alt, double *sl_radius, $Header$ $Log$ +Revision 1.2 1997/12/15 23:54:54 curt +Add xgl wrappers for debugging. +Generate terrain normals on the fly. + Revision 1.1 1997/07/31 23:13:14 curt Initial revision. @@ -193,7 +197,11 @@ Initial Flight Gear revision. /* $Log$ -/* Revision 1.1 1997/07/31 23:13:14 curt -/* Initial revision. +/* Revision 1.2 1997/12/15 23:54:54 curt +/* Add xgl wrappers for debugging. +/* Generate terrain normals on the fly. /* + * Revision 1.1 1997/07/31 23:13:14 curt + * Initial revision. + * */ diff --git a/Math/polar.c b/Math/polar.c index bcd9928a..aa67de50 100644 --- a/Math/polar.c +++ b/Math/polar.c @@ -28,7 +28,7 @@ #include #include "polar.h" -#include "../constants.h" +#include "../Include/constants.h" /* we can save these values between calls for efficiency */ @@ -101,9 +101,13 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p) { /* $Log$ -/* Revision 1.2 1997/07/31 22:52:27 curt -/* Working on redoing internal coordinate systems & scenery transformations. +/* Revision 1.3 1997/12/15 23:54:54 curt +/* Add xgl wrappers for debugging. +/* Generate terrain normals on the fly. /* + * Revision 1.2 1997/07/31 22:52:27 curt + * Working on redoing internal coordinate systems & scenery transformations. + * * Revision 1.1 1997/07/07 21:02:36 curt * Initial revision. * */ diff --git a/Math/polar.h b/Math/polar.h index 5e805716..88e1b4ab 100644 --- a/Math/polar.h +++ b/Math/polar.h @@ -28,7 +28,7 @@ #define POLAR_H -#include "../types.h" +#include "../Include/types.h" /* Convert a polar coordinate to a cartesian coordinate. Lon and Lat @@ -63,9 +63,13 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p); /* $Log$ -/* Revision 1.3 1997/07/31 22:52:28 curt -/* Working on redoing internal coordinate systems & scenery transformations. +/* Revision 1.4 1997/12/15 23:54:55 curt +/* Add xgl wrappers for debugging. +/* Generate terrain normals on the fly. /* + * Revision 1.3 1997/07/31 22:52:28 curt + * Working on redoing internal coordinate systems & scenery transformations. + * * Revision 1.2 1997/07/23 21:52:21 curt * Put comments around the text after an #endif for increased portability. *