Ejemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     SharpGL.WPF.OpenGLControl op = new SharpGL.WPF.OpenGLControl();
     op.Margin             = new Thickness(0, 20, 0, 0);
     op.DrawFPS            = true;
     op.OpenGLInitialized += Op_Initialized;
     this.grid.Children.Add(op);
 }
 public GLThingSize(SharpGL.WPF.OpenGLControl control) { _control = control; }