From 3bb238d41ca4f3e4a40f4ee3700b27ca7bf03b56 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 28 Oct 2022 01:08:28 +0100 Subject: Implement extending a network to join link ends --- game/network/network.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/network/network.h') diff --git a/game/network/network.h b/game/network/network.h index f37f335..4a2f56a 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -48,6 +48,8 @@ public: protected: static void joinLinks(const Link::Ptr & l, const Link::Ptr & ol); static GenCurveDef genCurveDef(const glm::vec3 & start, const glm::vec3 & end, float startDir); + static std::pair genCurveDef( + const glm::vec3 & start, const glm::vec3 & end, float startDir, float endDir); using Nodes = std::set>; Nodes nodes; -- cgit v1.2.3