From 838e5f77478e5648769439e191e3ff0a8e6405ab Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 22 Feb 2021 20:12:59 +0000 Subject: Add meandering support Add rail links between existing nodes and arbitrary points --- game/network/rail.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/network/rail.h') diff --git a/game/network/rail.h b/game/network/rail.h index ac944f3..5837ac1 100644 --- a/game/network/rail.h +++ b/game/network/rail.h @@ -71,6 +71,8 @@ public: return l; } + std::shared_ptr addLinksBetween(glm::vec3 start, glm::vec3 end); + private: using Nodes = std::set>; Collection links; -- cgit v1.2.3