void World::Render() { // Setup the camera matrix. theCamera.Render(); DrawRenderables(); // Give the GameManager a chance to draw something. if (_gameManager) _gameManager->Render(); //Render debug information theSpatialGraph.Render(); theUI.Render(); DrawDebugItems(); #if !ANGEL_MOBILE //Draw developer console _console->Render(); #endif HandleGLErrors(); }
void World::TickAndRender() { Simulate(_simulateOn); // Setup the camera matrix. theCamera.Render(); DrawRenderables(); // Give the GameManager a chance to draw something. if (_gameManager) _gameManager->Render(); //Render debug information theSpatialGraph.Render(); DrawDebugItems(); //Draw developer console _console->Render(); }