public RotationChangeCommand(WorldEditor app, IObjectRotation rotObj, float oldRot, float newRot)
 {
     this.rotObj = rotObj;
     this.oldRot = oldRot;
     this.newRot = newRot;
     this.app    = app;
 }
 public RotationChangeCommand(WorldEditor app, IObjectRotation rotObj, float oldRot, float newRot)
 {
     this.rotObj = rotObj;
     this.oldRot = oldRot;
     this.newRot = newRot;
     this.app = app;
 }
 public void UpdateRotationPanel(IObjectRotation obj)
 {
     if (SelectedRotationObject != null && obj == SelectedRotationObject)
     {
         UpdateRotationPanel(obj.Rotation);
     }
 }