From 27ba0701dcb7ce441cb91a10a570e4f4b05db5c4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 14 Feb 2021 13:19:37 +0000 Subject: Support getting the position at a point along a link --- game/network/link.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/network/link.h') diff --git a/game/network/link.h b/game/network/link.h index c9fbedb..3fabf05 100644 --- a/game/network/link.h +++ b/game/network/link.h @@ -2,6 +2,7 @@ #define LINK_H #include +#include #include #include #include @@ -36,6 +37,8 @@ public: NO_COPY(Link); NO_MOVE(Link); + virtual Transform positionAt(float dist, unsigned char start) const = 0; + std::array ends; float length; using Next = std::pair; -- cgit v1.2.3