diff --git a/base/frustum.hpp b/base/frustum.hpp index cf9e5731..968b31da 100644 --- a/base/frustum.hpp +++ b/base/frustum.hpp @@ -7,7 +7,8 @@ */ #include -#include "glm\glm.hpp" +#include +#include namespace vkTools { @@ -51,7 +52,7 @@ namespace vkTools for (auto i = 0; i < planes.size(); i++) { - float length = std::sqrtf(planes[i].x * planes[i].x + planes[i].y * planes[i].y + planes[i].z * planes[i].z); + float length = sqrtf(planes[i].x * planes[i].x + planes[i].y * planes[i].y + planes[i].z * planes[i].z); planes[i] /= length; } }