Esempio n. 1
0
 public Interaction()
 {
     Camera   = new Cameras();
     Rotation = new Rotate();
     Angle    = new Angles();
     Wire     = false;
 }
Esempio n. 2
0
        private void AutoRotating()
        {
            if (AutoRotateCheckBox.Checked)
            {
                Inter.Angle.X          = Angles.CheckAngle(Inter.Angle.X + AutoR.X);
                ValueRotateXLabel.Text = Inter.Angle.X.ToString();
                RotateXTrackBar.Value  = (int)Inter.Angle.X;

                Inter.Angle.Y          = Angles.CheckAngle(Inter.Angle.Y + AutoR.Y);
                ValueRotateYLabel.Text = Inter.Angle.Y.ToString();
                RotateYTrackBar.Value  = (int)Inter.Angle.Y;

                Inter.Angle.Z          = Angles.CheckAngle(Inter.Angle.Z + AutoR.Z);
                ValueRotateZLabel.Text = Inter.Angle.Z.ToString();
                RotateZTrackBar.Value  = (int)Inter.Angle.Z;
            }
        }