Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var window = new OpenGLWindow
                         (
                width: 900,
                height: 900,
                title: "OpenGL App",
                updateFrequency: 60,
                renderFrequency: 60,
                backgroundColor: Color.DarkSeaGreen
                         );

            window.Run();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var window = new OpenGLWindow
                         (
                width: 1200,
                height: 800,
                title: "Test OpenGL Application",
                updateFrequency: 60,
                renderFrequency: 10,
                backgroundColor: Color.CornflowerBlue,
                picture: PicturesCollection.GetPicture("Test Picture")
                         );

            window.Run();
        }