add 'core:pathfinding' component

This commit is contained in:
MihailRis
2025-08-03 19:06:22 +03:00
parent e2d0fa830d
commit a110022ec2
3 changed files with 45 additions and 3 deletions
+5 -3
View File
@@ -380,9 +380,11 @@ void WorldRenderer::renderFrame(
auto& linesShader = assets.require<Shader>("lines");
linesShader.use();
debugLines->render(
ctx, camera, *lines, *lineBatch, linesShader, showChunkBorders
);
if (debug && hudVisible) {
debugLines->render(
ctx, camera, *lines, *lineBatch, linesShader, showChunkBorders
);
}
linesShader.uniformMatrix("u_projview", projView);
lines->draw(*lineBatch);
lineBatch->flush();