summaryrefslogtreecommitdiff
path: root/game/geoData.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:52:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-05 15:52:02 +0000
commit58402765133fab24d08b64f3752553bd2b8393b9 (patch)
treea5719e50031d8433912e27184bd8b4b89820bac7 /game/geoData.h
parentFix calculating extents (diff)
downloadilt-58402765133fab24d08b64f3752553bd2b8393b9.tar.bz2
ilt-58402765133fab24d08b64f3752553bd2b8393b9.tar.xz
ilt-58402765133fab24d08b64f3752553bd2b8393b9.zip
Fix todo for handling a terrain walk from outside the mesh
Diffstat (limited to 'game/geoData.h')
-rw-r--r--game/geoData.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/geoData.h b/game/geoData.h
index 15d7e24..474731b 100644
--- a/game/geoData.h
+++ b/game/geoData.h
@@ -83,6 +83,8 @@ public:
void boundaryWalkUntil(const std::function<bool(HalfedgeHandle)> &) const;
void boundaryWalkUntil(const std::function<bool(HalfedgeHandle)> &, HalfedgeHandle start) const;
+ [[nodiscard]] HalfedgeHandle findEntry(const glm::vec2 from, const glm::vec2 to) const;
+
[[nodiscard]] auto
getExtents() const
{