Beispiel #1
0
 private void rotateCenterBtn_Click(object sender, EventArgs e)
 {
     if (xCheckBox.Checked)
     {
         _shape.RotateCenterX(AngleX);
     }
     if (yCheckBox.Checked)
     {
         _shape.RotateCenterY(AngleY);
     }
     if (zCheckBox.Checked)
     {
         _shape.RotateCenterZ(AngleZ);
     }
     ShowChanges();
 }