Jonathan Polley writes:

 > Sorry, I mistyped the incorrect macro.  The block of code reads:
 > 
 > #ifdef FG_WEATHERCM
 >      sgScaleVec3(fFriction, v, cw_envelope * wind_facing_area_of_balloon * 
 > WeatherDatabase->getAirDensity(position) * speed / 2.0);  //wind resistance
 >      sgScaleVec3(fLift, gravity_vector, -balloon_envelope_volume * 
 > wdbpos.AirPressure / (287.14 * wdbpos.Temperature));
 > #endif
 > 
 >      sgAddVec3(fTotal, fLift);
 >      sgAddVec3(fTotal, fFriction);
 > 
 > The values for fLift and fFriction are only set if FG_WEATHERCM is defined.

That means that they weren't being set before when FG_NEW_ENVIRONMENT
was defined.  Personally, I wasn't aware that the balloon sim was even
working (it wasn't a year ago), but I'd be happy to patch the file so
that it works with or without FG_WEATHERCM -- what would you suggest?


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to