return update(SGGeod::fromDegM(lon, lat, 0), visibility_meters);
}
-int FGTileMgr::update( SGLocation *location, double visibility_meters)
-{
- double lon = location->getLongitude_deg();
- double lat = location->getLatitude_deg();
- return update(SGGeod::fromDegM(lon, lat, 0), visibility_meters);
-}
-
int FGTileMgr::update( const SGGeod& location, double visibility_meters)
{
SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update()" );
// local chunks. If the chunk isn't already in the cache, then
// read it from disk.
int update( double visibility_meters );
- int update( SGLocation *location, double visibility_meters);
int update( const SGGeod& location, double visibility_meters);
// Prepare the ssg nodes corresponding to each tile. For each