fix: update projection matrix

This commit is contained in:
2025-10-14 21:38:09 +02:00
parent 0c589e4d27
commit 75e1748302

View File

@ -85,6 +85,7 @@ void Renderer::UpdateView(entt::registry& registry, Shader &shader) {
glm::vec3(0.f, 1.f, 0.f)
);
shader.setMat4("u_view", m_view);
shader.setMat4("u_projection", m_proj);
shader.setVec3("viewPos", camTransform.position);
}