1
0
Fork 0

Format tweaks.

This commit is contained in:
curt 2001-11-20 22:03:58 +00:00
parent bcca6a88a4
commit 3d1e802b84
2 changed files with 4 additions and 4 deletions

View file

@ -881,9 +881,9 @@ parse_option (const string& arg)
dir -= 360; dir -= 360;
dir *= SGD_DEGREES_TO_RADIANS; dir *= SGD_DEGREES_TO_RADIANS;
fgSetDouble("/environment/wind-north-fps", fgSetDouble("/environment/wind-north-fps",
speed * cos(dir)); speed * cos(dir));
fgSetDouble("/environment/wind-east-fps", fgSetDouble("/environment/wind-east-fps",
speed * sin(dir)); speed * sin(dir));
} else if ( arg.find( "--wp=" ) == 0 ) { } else if ( arg.find( "--wp=" ) == 0 ) {
parse_wp( arg.substr( 5 ) ); parse_wp( arg.substr( 5 ) );
} else if ( arg.find( "--flight-plan=") == 0) { } else if ( arg.find( "--flight-plan=") == 0) {

View file

@ -264,8 +264,8 @@ void FGTileMgr::initialize_queue()
// chunks. If the chunk isn't already in the cache, then read it from // chunks. If the chunk isn't already in the cache, then read it from
// disk. // disk.
int FGTileMgr::update( double lon, double lat ) { int FGTileMgr::update( double lon, double lat ) {
SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for " // SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for "
<< lon << " " << lat ); // << lon << " " << lat );
longitude = lon; longitude = lon;
latitude = lat; latitude = lat;