system and commandline/config file processing code.
#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 */
$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.
/* $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.
#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"
/* 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));
/* $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/
*
#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 */
/* $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.
#define _POLAR_H
-#include <Include/types.h>
+#include <Include/fg_types.h>
/* Convert a polar coordinate to a cartesian coordinate. Lon and Lat
/* $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.