From fa58befffe0c0520f50cf9414c3de9949d8c0eed Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 8 Jul 2020 00:22:44 -0300 Subject: Code fixes to compile in MinGW and MSVC CMakeLists includes --- Project/Workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Workspace.cpp') 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); } -- cgit