Skip to content

Commit

Permalink
Fix a delta-wing Lift_alpha and Drag_alpha problem (#406)
Browse files Browse the repository at this point in the history
Fix a delta-wing Lift_alpha and Drag_alpha problem where the values of alpha increase improperly. (issue #400)
Fix a bug introduced by the previous pull request.
Convert more code to C++11
  • Loading branch information
ermarch authored Mar 26, 2021
1 parent 13efab0 commit 375f5be
Show file tree
Hide file tree
Showing 12 changed files with 255 additions and 304 deletions.
14 changes: 1 addition & 13 deletions utils/aeromatic++/Aircraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,7 @@ Aircraft::get_verbose_description(int no_engines)
return desc;
}

Aeromatic::Aeromatic() : Aircraft(),
_atype(LIGHT),
_system_files(true),
_metric(0),
_stall_speed(0),
_stall_weight(0),
_max_weight(10000.0f),
_empty_weight(0),
_length(40.0f),
_payload(10000.0f),
_user_wing_data(-2),
_no_engines(0),
_wing_mounted_engines(false)
Aeromatic::Aeromatic() : Aircraft()
{
_inertia[0] = _inertia[1] = _inertia[2] = 0.0;
_payload = _max_weight;
Expand Down
Loading

0 comments on commit 375f5be

Please sign in to comment.