summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index d25964d..4460fcd 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -72,6 +72,7 @@ public:
}
std::shared_ptr<RailLink> addLinksBetween(glm::vec3 start, glm::vec3 end);
+ [[nodiscard]] NodePtr findNodeAt(glm::vec3) const;
private:
using Nodes = std::set<NodePtr, PtrSorter<NodePtr>>;