remove unused variables
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user