diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 00:22:44 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 00:22:44 -0300 |
commit | fa58befffe0c0520f50cf9414c3de9949d8c0eed (patch) | |
tree | 6a545f2227229ce293c40b9911f1df7bc90dda55 /Project/Workspace.cpp | |
parent | ab30228b1a57053323363674fa7f137c0329a180 (diff) | |
download | PSP.git-fa58befffe0c0520f50cf9414c3de9949d8c0eed.tar.gz PSP.git-fa58befffe0c0520f50cf9414c3de9949d8c0eed.tar.xz PSP.git-fa58befffe0c0520f50cf9414c3de9949d8c0eed.zip |
Code fixes to compile in MinGW and MSVC
CMakeLists includes
Diffstat (limited to 'Project/Workspace.cpp')
-rw-r--r-- | Project/Workspace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Workspace.cpp b/Project/Workspace.cpp index 17c8134..585ec82 100644 --- a/Project/Workspace.cpp +++ b/Project/Workspace.cpp @@ -1025,7 +1025,7 @@ void Workspace::UpdateHeatMap() m_hmPlane->UpdateCoords(); - int iterations = std::lround(3.3 * std::powf(m_camera->GetScale(), 0.62)); + int iterations = std::lround(3.3 * std::pow(m_camera->GetScale(), 0.62)); if (iterations < 1) iterations = 1; m_hmPlane->SmoothPlane(iterations); } |