Exemple #1
0
 private void OnLoaded(object sender, EventArgs e)
 {
     // setup trackball for moving the model around
     _trackball = new Trackball();
     _trackball.Attach(this);
     _trackball.Slaves.Add(myViewport3D);
     _trackball.Enabled = true;
 }
Exemple #2
0
 private void OnLoaded(object sender, EventArgs e)
 {
     // setup trackball for moving the model around
     _trackball = new Trackball();
     _trackball.Attach(this);
     _trackball.Slaves.Add(myViewport3D);
     _trackball.Enabled = true;
 }