Répârâge

This commit is contained in:
MarcEricMartel
2023-10-27 14:08:06 -04:00
parent c1faaca417
commit 8970bc33a1
3 changed files with 8 additions and 3 deletions

View File

@@ -772,9 +772,9 @@ void Engine::Render(float elapsedTime) {
}
}
m_wrenderer.RenderWorld(&m_world, m_renderCount, m_player.GetPosition(), m_player.GetDirection(), all, m_shader01, m_textureAtlas);
m_renderer.RenderWorld(&m_world, m_renderCount, m_player.GetPosition(), m_player.GetDirection(), all, m_shader01, m_textureAtlas);
m_world.Update(m_bullets, m_player.GetPosition(), m_blockinfo);
m_wrenderer.UpdateWorld(&m_world, m_player.GetPosition(), m_blockinfo);
m_renderer.UpdateMesh(&m_world, m_player.GetPosition(), m_blockinfo);
if (m_isSkybox) m_skybox.Render(skybox);