Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
system and commandline/config file processing code.
This commit is contained in:
parent
d824ffd02b
commit
b7eab24f14
4 changed files with 35 additions and 14 deletions
|
@ -14,7 +14,7 @@
|
|||
#include <math.h>
|
||||
|
||||
#include <Math/fg_geodesy.h>
|
||||
#include <Include/constants.h>
|
||||
#include <Include/fg_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.4 1998/01/27 00:47:59 curt
|
||||
Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
|
||||
system and commandline/config file processing code.
|
||||
|
||||
Revision 1.3 1998/01/19 19:27:12 curt
|
||||
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
This should simplify things tremendously.
|
||||
|
@ -201,10 +205,14 @@ Initial Flight Gear revision.
|
|||
|
||||
|
||||
/* $Log$
|
||||
/* Revision 1.3 1998/01/19 19:27:12 curt
|
||||
/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
/* This should simplify things tremendously.
|
||||
/* Revision 1.4 1998/01/27 00:47:59 curt
|
||||
/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
|
||||
/* system and commandline/config file processing code.
|
||||
/*
|
||||
* Revision 1.3 1998/01/19 19:27:12 curt
|
||||
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
* This should simplify things tremendously.
|
||||
*
|
||||
* Revision 1.2 1997/12/15 23:54:54 curt
|
||||
* Add xgl wrappers for debugging.
|
||||
* Generate terrain normals on the fly.
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h> /* for random(), srandom() */
|
||||
#include <time.h> /* for time() to seed srandom() */
|
||||
#include <Main/fg_debug.h>
|
||||
|
||||
#include "fg_random.h"
|
||||
|
||||
|
@ -41,7 +42,7 @@
|
|||
/* Seed the random number generater with time() so we don't see the
|
||||
* same sequence every time */
|
||||
void fg_srandom(void) {
|
||||
printf("Seeding random number generater\n");
|
||||
fgPrintf( FG_MATH, FG_INFO, "Seeding random number generater\n");
|
||||
|
||||
#ifdef USE_RAND
|
||||
srand(time(NULL));
|
||||
|
@ -62,9 +63,13 @@ double fg_random(void) {
|
|||
|
||||
|
||||
/* $Log$
|
||||
/* Revision 1.2 1997/12/30 20:47:48 curt
|
||||
/* Integrated new event manager with subsystem initializations.
|
||||
/* Revision 1.3 1998/01/27 00:47:59 curt
|
||||
/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
|
||||
/* system and commandline/config file processing code.
|
||||
/*
|
||||
* Revision 1.2 1997/12/30 20:47:48 curt
|
||||
* Integrated new event manager with subsystem initializations.
|
||||
*
|
||||
* Revision 1.1 1997/07/30 16:04:09 curt
|
||||
* Moved random routines from Utils/ to Math/
|
||||
*
|
||||
|
|
12
Math/polar.c
12
Math/polar.c
|
@ -28,7 +28,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include <Math/polar.h>
|
||||
#include <Include/constants.h>
|
||||
#include <Include/fg_constants.h>
|
||||
|
||||
|
||||
/* we can save these values between calls for efficiency */
|
||||
|
@ -101,10 +101,14 @@ struct fgCartesianPoint fgRotateCartesianPoint(struct fgCartesianPoint p) {
|
|||
|
||||
|
||||
/* $Log$
|
||||
/* Revision 1.4 1998/01/19 19:27:12 curt
|
||||
/* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
/* This should simplify things tremendously.
|
||||
/* Revision 1.5 1998/01/27 00:48:00 curt
|
||||
/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
|
||||
/* system and commandline/config file processing code.
|
||||
/*
|
||||
* Revision 1.4 1998/01/19 19:27:12 curt
|
||||
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
* This should simplify things tremendously.
|
||||
*
|
||||
* Revision 1.3 1997/12/15 23:54:54 curt
|
||||
* Add xgl wrappers for debugging.
|
||||
* Generate terrain normals on the fly.
|
||||
|
|
10
Math/polar.h
10
Math/polar.h
|
@ -28,7 +28,7 @@
|
|||
#define _POLAR_H
|
||||
|
||||
|
||||
#include <Include/types.h>
|
||||
#include <Include/fg_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.6 1998/01/22 02:59:39 curt
|
||||
/* Changed #ifdef FILE_H to #ifdef _FILE_H
|
||||
/* Revision 1.7 1998/01/27 00:48:00 curt
|
||||
/* Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
|
||||
/* system and commandline/config file processing code.
|
||||
/*
|
||||
* Revision 1.6 1998/01/22 02:59:39 curt
|
||||
* Changed #ifdef FILE_H to #ifdef _FILE_H
|
||||
*
|
||||
* Revision 1.5 1998/01/19 19:27:13 curt
|
||||
* Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
||||
* This should simplify things tremendously.
|
||||
|
|
Loading…
Add table
Reference in a new issue