From 30e3c9625856c24fa88ec148da6865657414c77d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 Feb 2021 11:32:15 +0000 Subject: Links have length, ends have entry direction --- game/network/link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/network/link.cpp') diff --git a/game/network/link.cpp b/game/network/link.cpp index 65aefd6..ad09341 100644 --- a/game/network/link.cpp +++ b/game/network/link.cpp @@ -2,7 +2,7 @@ #include #include -Link::Link(End a, End b) : ends {{std::move(a), std::move(b)}} { } +Link::Link(End a, End b, float l) : ends {{std::move(a), std::move(b)}}, length {l} { } bool operator<(const glm::vec3 & a, const glm::vec3 & b) -- cgit v1.2.3