From 2a768eed79e1dbccd389a31a0d593729c9aef4f8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 May 2025 10:15:31 +0100 Subject: Link helper to get an End pointer based on position --- game/network/link.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'game/network/link.h') diff --git a/game/network/link.h b/game/network/link.h index 0b58558..7ef1387 100644 --- a/game/network/link.h +++ b/game/network/link.h @@ -48,6 +48,8 @@ public: [[nodiscard]] virtual bool intersectRay(const Ray &) const = 0; [[nodiscard]] virtual std::vector getBase(RelativeDistance width) const = 0; + [[nodiscard]] const End * endAt(const GlobalPosition3D &) const; + std::array ends; float length; -- cgit v1.2.3