From 2d0e4dbacd652ea1000a2daba811710a0597783b Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 5 Dec 1998 14:20:21 +0000 Subject: [PATCH] Looking into a terrain intersection problem. --- Scenery/tilemgr.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Scenery/tilemgr.cxx b/Scenery/tilemgr.cxx index 28a891036..7c63f048b 100644 --- a/Scenery/tilemgr.cxx +++ b/Scenery/tilemgr.cxx @@ -156,10 +156,10 @@ fgTileMgrCurElev( const fgBUCKET& p ) { scenery.next_center = t->center; - // earth_center = Point3D(0.0, 0.0, 0.0); - FG_LOG( FG_TERRAIN, FG_DEBUG, "Current bucket = " << p << " Index = " << fgBucketGenIndex(&p) ); + FG_LOG( FG_TERRAIN, FG_DEBUG, + "abs_view_pos = " << abs_view_pos ); // calculate tile offset // x = (t->offset.x = t->center.x - scenery.center.x); @@ -217,7 +217,7 @@ fgTileMgrCurElev( const fgBUCKET& p ) { } } - cout << "no terrain intersection found\n"; + cout << "(new) no terrain intersection found\n"; return 0.0; } @@ -322,7 +322,7 @@ fgTileMgrCurElevOLD( double lon, double lat, const Point3D& abs_view_pos ) { } } - cout << "no terrain intersection found\n"; + cout << "(old) no terrain intersection found\n"; return 0.0; } @@ -748,6 +748,9 @@ void fgTileMgrRender( void ) { // $Log$ +// Revision 1.48 1998/12/05 14:20:21 curt +// Looking into a terrain intersection problem. +// // Revision 1.47 1998/12/05 14:11:19 curt // Sun portability tweak. // -- 2.39.5