Committed to cvs ...

Jim Wilson writes:
> Here's a patch to fix the asi problem (it affects most aircraft panels).
> 
> Best,
> 
> Jim
> 
> 
> Index: airspeed_indicator.cxx
> ===================================================================
> RCS file:
> /var/cvs/FlightGear-0.9/FlightGear/src/Instrumentation/airspeed_indicator.cxx,v
> retrieving revision 1.4
> diff -r1.4 airspeed_indicator.cxx
> 62c62,65
> <                                 // Now, reverse the equation
> ---
> >                                 // Now, reverse the equation (normalize
> dynamic pressure to avoid "nan" results from sqrt)
> >         if (q < 0) {
> >            q = 0.0;
> >         }
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to