summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-13 19:35:36 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-13 19:43:19 +0000
commit63ed9375ecdaf23edff41466a33d7ef766503b3f (patch)
tree8ca6af1b0dc240746ed6d0cb163ef81d92ea4be6
parentConfigure cppcheck libraries (diff)
downloadilt-63ed9375ecdaf23edff41466a33d7ef766503b3f.tar.bz2
ilt-63ed9375ecdaf23edff41466a33d7ef766503b3f.tar.xz
ilt-63ed9375ecdaf23edff41466a33d7ef766503b3f.zip
Fix up includes
-rw-r--r--game/geoData.cpp2
-rw-r--r--game/geoData.h1
-rw-r--r--ui/gameMainWindow.cpp3
3 files changed, 4 insertions, 2 deletions
diff --git a/game/geoData.cpp b/game/geoData.cpp
index c9e909b..2028937 100644
--- a/game/geoData.cpp
+++ b/game/geoData.cpp
@@ -5,6 +5,8 @@
#include <cmath>
#include <cstddef>
#include <glm/gtx/intersect.hpp>
+#include <initializer_list>
+#include <limits>
#include <maths.h>
#include <random>
#include <ray.hpp>
diff --git a/game/geoData.h b/game/geoData.h
index 42c2d9d..2a1c8bd 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -1,5 +1,6 @@
#pragma once
+#include <array>
#include <filesystem>
#include <glm/glm.hpp>
#include <optional>
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index 1724927..3f9ce8c 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -2,7 +2,6 @@
#include "gfx/camera_controller.h"
#include "manualCameraController.h"
#include "maths.h"
-#include "ray.hpp"
#include "text.h"
#include "toolbar.h"
#include "ui/uiComponent.h"
@@ -17,8 +16,8 @@
#include <gfx/renderable.h>
#include <glm/glm.hpp>
#include <memory>
+#include <optional>
#include <span>
-#include <stdexcept>
#include <string>
#include <typeinfo>
#include <vector>