remove unused variables

This commit is contained in:
2023-06-05 13:17:04 +02:00
parent faf544f997
commit 22e62df04d

View File

@@ -51,8 +51,6 @@ void WorldRenderer::Update() {
ImGuiIO& io = ImGui::GetIO();
if (io.MouseDown[0] && !ImGui::IsAnyItemActive() && !ImGui::IsAnyItemHovered()) {
ImVec2 mouseDelta = ImGui::GetIO().MouseDelta;
const float relativeX = mouseDelta.x / (float)Display::GetWindowWidth() * 2;
const float relativeY = mouseDelta.y / (float)Display::GetWindowHeight() * 2;
MoveCam(mouseDelta.x, mouseDelta.y);
}
if (io.MouseWheel != 0) {