| 124 | } |
| 125 | |
| 126 | void Application::Draw() { |
| 127 | gameWorld->GetRenderWorld()->ClearDebugPrimitives(BE1::common.realTime); |
| 128 | gameWorld->GetRenderWorld()->ClearDebugText(BE1::common.realTime); |
| 129 | |
| 130 | mainRenderContext->BeginFrame(); |
| 131 | |
| 132 | gameWorld->RenderCamera(); |
| 133 | |
| 134 | gameWorld->GetPhysicsWorld()->DebugDraw(); |
| 135 | |
| 136 | BE1::gameClient.Render(mainRenderContext); |
| 137 | |
| 138 | mainRenderContext->EndFrame(); |
| 139 | } |
| 140 | |
| 141 | void Application::LoadMap(const char *mapName) { |
| 142 | gameWorld->LoadMap(mapName, BE1::GameWorld::LoadSceneMode::Single); |
no test coverage detected