[fixes #463] Motors now rotate in RocketFigure side-view, back-view
This commit is contained in:
parent
fa33c3d823
commit
1768c6d83e
@ -276,6 +276,9 @@ public class RocketFigure extends AbstractScaleFigure {
|
|||||||
Coordinate curMotorLocation = curMountLocation.add( mountLength - motorLength + mount.getMotorOverhang(), 0, 0);
|
Coordinate curMotorLocation = curMountLocation.add( mountLength - motorLength + mount.getMotorOverhang(), 0, 0);
|
||||||
// System.err.println(String.format(" mount instance: %s => %s", curMountLocation.toString(), curMotorLocation.toString() ));
|
// System.err.println(String.format(" mount instance: %s => %s", curMountLocation.toString(), curMotorLocation.toString() ));
|
||||||
|
|
||||||
|
// rotate by figure's axial rotation:
|
||||||
|
curMotorLocation = this.axialRotation.transform(curMotorLocation);
|
||||||
|
|
||||||
{
|
{
|
||||||
Shape s;
|
Shape s;
|
||||||
if (currentViewType == RocketPanel.VIEW_TYPE.SideView) {
|
if (currentViewType == RocketPanel.VIEW_TYPE.SideView) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user