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:
parent
3be84c02c1
commit
d4f11c4b72
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user