1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00

Render world in physics debug mode

This commit is contained in:
Daniel Evans 2014-06-01 20:44:07 +01:00
parent 3be84c02c1
commit d4f11c4b72

View File

@ -383,6 +383,7 @@ void render()
break;
}
case 2: {
gta->renderer.renderWorld();
glUseProgram(gta->renderer.worldProgram);
glm::mat4 proj = gta->renderer.camera.frustum.projection();
glm::mat4 view = gta->renderer.camera.frustum.view;