#include <Include/fg_constants.h>
#include <Include/fg_types.h>
-#include <Math/fg_geodesy.h>
-#include <Math/mat3.h>
-#include <Math/polar.h>
-#include <Scenery/bucketutils.h>
+// #include <Math/fg_geodesy.h>
+// #include <Math/mat3.h>
+// #include <Math/polar.h>
+#include <Bucket/bucketutils.h>
int nodecount = 0;
-float nodes[MAX_NODES][3];
+static double nodes[MAX_NODES][3];
struct fgBUCKET my_index;
while ( fgets(line, 250, fp) != NULL ) {
if ( strncmp(line, "gdn ", 4) == 0 ) {
- sscanf(line, "gdn %f %f %f\n", &nodes[nodecount][0],
+ sscanf(line, "gdn %lf %lf %lf\n", &nodes[nodecount][0],
&nodes[nodecount][1], &nodes[nodecount][2]);
/*
printf("read_nodes(%d) %.2f %.2f %.2f %s", nodecount,
/* $Log$
-/* Revision 1.3 1998/01/27 18:37:00 curt
-/* Lots of updates to get back in sync with changes made over in .../Src/
+/* Revision 1.7 1998/04/14 02:26:00 curt
+/* Code reorganizations. Added a Lib/ directory for more general libraries.
/*
+ * Revision 1.6 1998/04/08 22:54:58 curt
+ * Adopted Gnu automake/autoconf system.
+ *
+ * Revision 1.5 1998/03/03 16:00:52 curt
+ * More c++ compile tweaks.
+ *
+ * Revision 1.4 1998/01/31 00:41:23 curt
+ * Made a few changes converting floats to doubles.
+ *
+ * Revision 1.3 1998/01/27 18:37:00 curt
+ * Lots of updates to get back in sync with changes made over in .../Src/
+ *
* Revision 1.2 1998/01/15 21:33:36 curt
* Assembling triangles and building a new .node file with the proper shared
* vertices now works. Now we just have to use the shared normals and we'll