Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            _elapsedTime = new TimeSpan();
            var settings = new GLWpfControlSettings();

            settings.MajorVersion = 2;
            settings.MinorVersion = 1;
            OpenTkControl.Start(settings);
            InsetControl.Start(settings);
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();
            var mainSettings = new GLWpfControlSettings {
                MajorVersion = 2, MinorVersion = 1
            };

            OpenTkControl.Start(mainSettings);
            var insetSettings = new GLWpfControlSettings {
                MajorVersion = 2, MinorVersion = 1, RenderContinuously = false
            };

            InsetControl.Start(insetSettings);
        }