]> git.mxchange.org Git - flightgear.git/commitdiff
Preparations for outputing scenery file to correct location.
authorcurt <curt>
Thu, 25 Mar 1999 19:04:21 +0000 (19:04 +0000)
committercurt <curt>
Thu, 25 Mar 1999 19:04:21 +0000 (19:04 +0000)
GenOutput/genobj.cxx
GenOutput/genobj.hxx

index 06c5a07994b8260d2d52e8f04b5fbf22d7cd6c07..72110fa7232129646d009d999ab2fe29497eeb20 100644 (file)
@@ -248,7 +248,7 @@ void FGGenOutput::calc_bounding_sphere( int i, Point3D *center,
 
 
 // write out the fgfs scenery file
-int FGGenOutput::write( const string& path ) {
+int FGGenOutput::write( const FGBucket& b, const string& path ) {
     Point3D p;
 
     FILE *fp;
@@ -268,7 +268,7 @@ int FGGenOutput::write( const string& path ) {
     fprintf(fp, "# Created %s\n", time_str );
     fprintf(fp, "\n");
 
-    // write global bounding spher
+    // write global bounding sphere
     fprintf(fp, "# gbs %.5f %.5f %.5f %.2f\n",
            gbs_center.x(), gbs_center.y(), gbs_center.z(), gbs_radius);
     fprintf(fp, "\n");
@@ -317,6 +317,9 @@ int FGGenOutput::write( const string& path ) {
 
 
 // $Log$
+// Revision 1.3  1999/03/25 19:04:21  curt
+// Preparations for outputing scenery file to correct location.
+//
 // Revision 1.2  1999/03/23 22:02:03  curt
 // Worked on creating data to output ... normals, bounding spheres, etc.
 //
index 7afb3076d5047dc2945a4be77cb86317ce956659..ed90deef985e0f1d0325f859e155f0c326f3c38c 100644 (file)
@@ -32,6 +32,7 @@
 #endif                                   
 
 
+#include <Bucket/newbucket.hxx>
 #include <Math/fg_geodesy.hxx>
 #include <Math/point3d.hxx>
 #include <Triangulate/triangle.hxx>
@@ -108,7 +109,7 @@ public:
     int build( const FGTriangle& t );
 
     // write out the fgfs scenery file
-    int write( const string& path );
+    int write( const FGBucket& b, const string& path );
 };
 
 
@@ -116,6 +117,9 @@ public:
 
 
 // $Log$
+// Revision 1.4  1999/03/25 19:04:22  curt
+// Preparations for outputing scenery file to correct location.
+//
 // Revision 1.3  1999/03/23 22:02:04  curt
 // Worked on creating data to output ... normals, bounding spheres, etc.
 //