Add xgl wrappers for debugging.

Generate terrain normals on the fly.
This commit is contained in:
curt 1997-12-15 23:54:53 +00:00
parent 7ad1e2be73
commit 6c9aa9527d
4 changed files with 28 additions and 12 deletions

View File

@ -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

View File

@ -14,7 +14,7 @@
#include <math.h>
#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.
*
*/

View File

@ -28,7 +28,7 @@
#include <stdio.h>
#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.
* */

View File

@ -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.
*