Skip to content

Commit

Permalink
GCC compile errors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Sep 25, 2024
1 parent 877b780 commit 62530a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/Gui/SimulationInteractionController.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "SimulationInteractionController.h"

#include <imgui.h>
#include <cmath>

#include "Base/Resources.h"
#include "EngineInterface/SimulationController.h"
Expand Down Expand Up @@ -403,5 +404,5 @@ float _SimulationInteractionController::calcZoomFactor(std::chrono::steady_clock
auto now = std::chrono::steady_clock::now();
auto duration = toFloat(std::chrono::duration_cast<std::chrono::milliseconds>(now - lastTimepoint).count());
_lastZoomTimepoint = now;
return pow(Viewport::getZoomSensitivity(), duration / 15);
return powf(Viewport::getZoomSensitivity(), duration / 15);
}
1 change: 0 additions & 1 deletion source/Gui/SimulationView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <algorithm>
#include <glad/glad.h>
#include <imgui.h>
#include <cmath>

#include "Base/GlobalSettings.h"
#include "Base/Resources.h"
Expand Down

0 comments on commit 62530a3

Please sign in to comment.