diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-28 16:53:57 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-28 16:53:57 +0000 |
commit | 04946e0b64e5bafcfb01cca515f5abc34386e15c (patch) | |
tree | 441a2131af5bd1ead38e8eceb39d0def2ba6b2e7 /gfx | |
parent | No global static for factory map (diff) | |
download | ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.bz2 ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.tar.xz ilt-04946e0b64e5bafcfb01cca515f5abc34386e15c.zip |
Fix up all remaining warnings
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/gl/camera.cpp | 2 | ||||
-rw-r--r-- | gfx/gl/shader.cpp | 1 | ||||
-rw-r--r-- | gfx/models/obj.impl.cpp | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/gfx/gl/camera.cpp b/gfx/gl/camera.cpp index c957b2c..5a90d84 100644 --- a/gfx/gl/camera.cpp +++ b/gfx/gl/camera.cpp @@ -1,5 +1,5 @@ #include "camera.h" -#include <glm/gtx/transform.hpp> +#include <glm/gtx/transform.hpp> // IWYU pragma: keep #include <maths.h> Camera::Camera(glm::vec3 pos, float fov, float aspect, float zNear, float zFar) : diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp index 14cf404..b8210d1 100644 --- a/gfx/gl/shader.cpp +++ b/gfx/gl/shader.cpp @@ -1,6 +1,7 @@ #include "shader.h"
#include "gfx/gl/shader-source.h"
#include <array>
+#include <cstddef>
#include <gfx/gl/shaders/fs-basicShader.h>
#include <gfx/gl/shaders/fs-landmassShader.h>
#include <gfx/gl/shaders/fs-waterShader.h>
diff --git a/gfx/models/obj.impl.cpp b/gfx/models/obj.impl.cpp index 745689e..d73d82e 100644 --- a/gfx/models/obj.impl.cpp +++ b/gfx/models/obj.impl.cpp @@ -1,5 +1,8 @@ #include "obj.h" #include <algorithm> +#include <cassert> +#include <filesystem> +#include <fstream> #include <gfx/models/mesh.h> // IWYU pragma: keep #include <gfx/models/vertex.hpp> #include <glm/glm.hpp> |