]> git.mxchange.org Git - flightgear.git/commit
Fix for issue 1394 (YASim's geometry for non-cylindrical fuselages is wrong)
authorColin Douglas Howell <colin.d.howell@gmail.com>
Tue, 6 May 2014 04:21:23 +0000 (21:21 -0700)
committerTorsten Dreyer <torsten@t3r.de>
Tue, 6 May 2014 08:38:48 +0000 (10:38 +0200)
commit4d1aebad793b8fd030c29a1503c75686f31fa4e8
tree57ec092e6a40a846549d7c5db5e7d7edfd74439a
parent19aedd45231973ab42a1f02a95c7fa0c0785f36a
Fix for issue 1394 (YASim's geometry for non-cylindrical fuselages is wrong)

Correct handling of fuselage's "midpoint" XML attribute so that the midpoint's
location matches the point assumed by all aircraft developers and YASim docs.
This means the fuselage won't be generated "back-to-front".
Also correct the variation of diameter for tapered fuselages so that both ends
of the fuselage narrow from the midpoint to the endpoints.
Before this, one end was narrowing from the endpoint to the midpoint, the
opposite of what was expected.
These changes affect both weight distribution and the distribution of lateral
aerodynamic forces.
src/FDM/YASim/Airplane.cpp
src/FDM/YASim/FGFDM.cpp