[fixes #463] Motors now rotate in RocketFigure side-view, back-view

This commit is contained in:
Daniel_M_Williams 2018-10-27 16:17:20 -04:00
parent fa33c3d823
commit 1768c6d83e

View File

@ -276,6 +276,9 @@ public class RocketFigure extends AbstractScaleFigure {
Coordinate curMotorLocation = curMountLocation.add( mountLength - motorLength + mount.getMotorOverhang(), 0, 0);
// 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;
if (currentViewType == RocketPanel.VIEW_TYPE.SideView) {