fix in-world lines projection
This commit is contained in:
@@ -387,6 +387,7 @@ void WorldRenderer::renderFrame(
|
|||||||
|
|
||||||
// In-world lines
|
// In-world lines
|
||||||
linesShader.use();
|
linesShader.use();
|
||||||
|
linesShader.uniformMatrix("u_projview", camera.getProjView());
|
||||||
lines->draw(*lineBatch);
|
lines->draw(*lineBatch);
|
||||||
lineBatch->flush();
|
lineBatch->flush();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user