summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-02-08 18:11:23 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-02-08 18:11:23 +0000
commitca1a83e21d0cdb4b3443252b11789bd8ecff3c86 (patch)
treec62b1049e3823a7b129722bf10c791225361f367 /game/geoData.h
parentSet height when reusing adjacent vertices (diff)
downloadilt-ca1a83e21d0cdb4b3443252b11789bd8ecff3c86.tar.bz2
ilt-ca1a83e21d0cdb4b3443252b11789bd8ecff3c86.tar.xz
ilt-ca1a83e21d0cdb4b3443252b11789bd8ecff3c86.zip
Improve logging and fault detection during mesh mutation
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/geoData.h b/game/geoData.h
index 390a443..7c11b07 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -9,6 +9,7 @@
#include <filesystem>
#include <glm/vec2.hpp>
#include <optional>
+#include <source_location>
#include <thirdparty/openmesh/glmcompat.h>
#include <thirdparty/openmesh/helpers.h>
@@ -115,7 +116,7 @@ public:
return property(surface, handle);
}
- void sanityCheck() const;
+ void sanityCheck(const std::source_location & = std::source_location::current()) const;
protected:
template<glm::length_t Dim>