Exemplo n.º 1
0
 // Scale button callback
 private void ScaleBtn_Click(object sender, EventArgs e)
 {
     UncheckTransformButtons();
     ScaleBtn.Checked = true;
     transformation   = new Scale();
     transformFn      = ScaleScene;
 }
Exemplo n.º 2
0
 // Rotation button callback (Z)
 private void RotateZBtn_Click(object sender, EventArgs e)
 {
     UncheckTransformButtons();
     RotateZBtn.Checked = true;
     transformation     = new Rotate();
     transformFn        = RotateZAxis;
 }