camera fixing

This commit is contained in:
2023-06-06 13:07:42 +02:00
parent 83ab8c70f0
commit 48841fa4e9
3 changed files with 24 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ void WorldRenderer::Click() {
void WorldRenderer::SetCamPos(float camX, float camY) {
m_CamPos = { camX, camY };
m_Renderer->SetCamPos({ camX, 25, camY });
m_Renderer->SetCamLook({ camX, camY });
}
void WorldRenderer::DetectClick() {