finished first draft of fixing lengths
This commit is contained in:
parent
719576cc62
commit
1b188e20be
@ -723,7 +723,7 @@ public abstract class FinSet extends ExternalComponent implements RingInstanceab
|
|||||||
*
|
*
|
||||||
* Currently the points are simply a rectangular box around the body tube.
|
* Currently the points are simply a rectangular box around the body tube.
|
||||||
*/
|
*/
|
||||||
@Override
|
/*@Override
|
||||||
public Collection<Coordinate> getComponentBounds() {
|
public Collection<Coordinate> getComponentBounds() {
|
||||||
Collection<Coordinate> bounds = new ArrayList<Coordinate>(8);
|
Collection<Coordinate> bounds = new ArrayList<Coordinate>(8);
|
||||||
|
|
||||||
@ -756,7 +756,7 @@ public abstract class FinSet extends ExternalComponent implements RingInstanceab
|
|||||||
|
|
||||||
addBoundingBox(bounds, x_min, x_max, r_max);
|
addBoundingBox(bounds, x_min, x_max, r_max);
|
||||||
return bounds;
|
return bounds;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void componentChanged(ComponentChangeEvent e) {
|
public void componentChanged(ComponentChangeEvent e) {
|
||||||
|
@ -529,7 +529,7 @@ public class FlightConfiguration implements FlightConfigurableParameter<FlightCo
|
|||||||
BoundingBox bounds = new BoundingBox();
|
BoundingBox bounds = new BoundingBox();
|
||||||
|
|
||||||
for (RocketComponent component : this.getActiveComponents()) {
|
for (RocketComponent component : this.getActiveComponents()) {
|
||||||
BoundingBox componentBounds = new BoundingBox().update(component.getComponentBounds());
|
BoundingBox componentBounds = new BoundingBox().update(component.getBoundingBox());
|
||||||
bounds.update( componentBounds );
|
bounds.update( componentBounds );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user