]> git.mxchange.org Git - simgear.git/blobdiff - simgear/bucket/newbucket.hxx
Make SGPath cache stat() information, cheers Fred
[simgear.git] / simgear / bucket / newbucket.hxx
index 6e9bdd24329c5cd3247c45f98e2969ec207231ee..58008e5c06ec21735b3dc3ec045df8709e2e9ab7 100644 (file)
@@ -95,7 +95,6 @@ static double sg_bucket_span( double l ) {
 class SGBucket {
 
 private:
-    double cx, cy;  // centerpoint (lon, lat) in degrees of bucket
     short lon;        // longitude index (-180 to 179)
     short lat;        // latitude index (-90 to 89)
     char x;          // x subdivision (0 to 7)
@@ -330,7 +329,7 @@ void sgBucketDiff( const SGBucket& b1, const SGBucket& b2, int *dx, int *dy );
 inline std::ostream&
 operator<< ( std::ostream& out, const SGBucket& b )
 {
-    return out << b.lon << ":" << b.x << ", " << b.lat << ":" << b.y;
+    return out << b.lon << ":" << (int)b.x << ", " << b.lat << ":" << (int)b.y;
 }