dir -= 360;
dir *= SGD_DEGREES_TO_RADIANS;
fgSetDouble("/environment/wind-north-fps",
- speed * cos(dir));
+ speed * cos(dir));
fgSetDouble("/environment/wind-east-fps",
- speed * sin(dir));
+ speed * sin(dir));
} else if ( arg.find( "--wp=" ) == 0 ) {
parse_wp( arg.substr( 5 ) );
} else if ( arg.find( "--flight-plan=") == 0) {
// chunks. If the chunk isn't already in the cache, then read it from
// disk.
int FGTileMgr::update( double lon, double lat ) {
- SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for "
- << lon << " " << lat );
+ // SG_LOG( SG_TERRAIN, SG_DEBUG, "FGTileMgr::update() for "
+ // << lon << " " << lat );
longitude = lon;
latitude = lat;