From: curt Date: Thu, 25 Mar 1999 19:04:21 +0000 (+0000) Subject: Preparations for outputing scenery file to correct location. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f33915fd134f33d13b068bb99b07ccc38f25018d;p=flightgear.git Preparations for outputing scenery file to correct location. --- diff --git a/GenOutput/genobj.cxx b/GenOutput/genobj.cxx index 06c5a0799..72110fa72 100644 --- a/GenOutput/genobj.cxx +++ b/GenOutput/genobj.cxx @@ -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. // diff --git a/GenOutput/genobj.hxx b/GenOutput/genobj.hxx index 7afb3076d..ed90deef9 100644 --- a/GenOutput/genobj.hxx +++ b/GenOutput/genobj.hxx @@ -32,6 +32,7 @@ #endif +#include #include #include #include @@ -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. //