From f2954a08d726c3c94212fb848adc3fe3cf298cf1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 25 Oct 2022 17:53:16 +0100 Subject: Move findDir into member function findNodeDirection --- game/network/network.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'game/network/network.h') diff --git a/game/network/network.h b/game/network/network.h index 25f0200..f1ac23f 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -40,6 +40,8 @@ public: virtual Link::CCollection addJoins(glm::vec3, glm::vec3) = 0; virtual Link::CCollection addExtend(glm::vec3, glm::vec3) = 0; + virtual float findNodeDirection(Node::AnyCPtr) const = 0; + protected: static void joinLinks(const Link::Ptr & l, const Link::Ptr & ol); @@ -86,6 +88,8 @@ public: Link::CCollection addJoins(glm::vec3, glm::vec3) override; Link::CCollection addExtend(glm::vec3, glm::vec3) override; + float findNodeDirection(Node::AnyCPtr) const override; + void render(const Shader &) const override; protected: -- cgit v1.2.3