static void Main(string[] args) { Glut.Init(args); Glut.InitWindowPosition(100, 100); Glut.InitWindowSize(512, 512); Glut.InitDisplayMode(WindowFlags.Rgba | WindowFlags.Double); Glut.CreateWindow("Draw One Triangle"); DrawOneTriangleInit(); Glut.DisplayFunc(DrawOneTriangleFrame); Glut.ReshapeFunc(Reshape); Glut.KeyboardFunc(Keyboard); Glut.MainLoop(); }