/// <summary> /// The main loop. This method is executed by the application event handler each time the application is idle. /// </summary> public void MainLoop() { KeyHandling(); MouseMovement(); CalcFPS(); // render app.mainLoop(fps); Horde3DUtils.swapBuffers(); // if mouse tracking is disabled call Invalidate() to redraw the scene Invalidate(); }
/// <summary> /// The main loop. This method is executed by the application event handler each time the application is idle. /// </summary> public void MainLoop() { KeyHandling(); MouseMovement(); CalcFPS(); // render app.mainLoop(fps); // Swap buffers OpenGL.SwapBuffers(dc); // if mouse tracking is disabled call Invalidate() to redraw the scene Invalidate(); }