summaryrefslogtreecommitdiff
path: root/game/network/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/network/link.h')
-rw-r--r--game/network/link.h3
1 files changed, 3 insertions, 0 deletions
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 <array>
+#include <gfx/gl/transform.h>
#include <glm/glm.hpp>
#include <memory>
#include <special_members.hpp>
@@ -36,6 +37,8 @@ public:
NO_COPY(Link);
NO_MOVE(Link);
+ virtual Transform positionAt(float dist, unsigned char start) const = 0;
+
std::array<End, 2> ends;
float length;
using Next = std::pair<LinkPtr, unsigned char /*end*/>;