[#1231] Include non-aerodynamic components in bounding box calculations

This commit is contained in:
SiboVG 2022-06-08 21:17:48 +02:00
parent 72847b96eb
commit 34b5729693

View File

@ -601,12 +601,6 @@ public class FlightConfiguration implements FlightConfigurableParameter<FlightCo
final RocketComponent component = entry.getKey();
final BoundingBox componentBounds = new BoundingBox();
final List<InstanceContext> contexts = entry.getValue();
if( ! component.isAerodynamic()){
// System.err.println(" << non-aerodynamic");
// all non-aerodynamic components should be surrounded by aerodynamic ones
continue;
}
// FinSets already provide a bounding box, so let's use that.
if (component instanceof BoxBounded) {