renderer template shader

This commit is contained in:
2025-07-17 21:57:06 +02:00
parent 74848fbd78
commit 9a3356eb16
5 changed files with 24 additions and 26 deletions

View File

@@ -7,7 +7,7 @@
namespace td {
namespace render {
WorldRenderer::WorldRenderer(Camera& a_Camera, const game::World& a_World) : Renderer(std::make_unique<shader::WorldShader>(), a_Camera), m_World(a_World) {
WorldRenderer::WorldRenderer(Camera& a_Camera, const game::World& a_World) : Renderer(a_Camera), m_World(a_World) {
m_WorldVao = std::make_unique<GL::VertexArray>(std::move(WorldLoader::LoadWorldModel(&a_World)));
}