From: david Date: Fri, 4 Oct 2002 01:04:20 +0000 (+0000) Subject: Decrease the error (slightly) from a power glide. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=598db3d5281c75ac25b0e1566bb8e45ac10d061d;p=flightgear.git Decrease the error (slightly) from a power glide. --- diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index b33f25da8..5378e15ed 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -74,7 +74,7 @@ AttitudeIndicator::update (double dt) // Next, calculate the indicated roll // and pitch, introducing errors. - double factor = 1.0 - ((1.0 - spin) * (1.0 - spin)); + double factor = 1.0 - ((1.0 - spin) * (1.0 - spin) * (1.0 - spin)); double roll = _roll_in_node->getDoubleValue(); double pitch = _pitch_in_node->getDoubleValue(); roll = 35 + (factor * (roll - 35));