From 423328de708ffa93961c329de13445ce2da6e328 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 1 Jan 2024 22:03:10 +0000 Subject: Remove more use of legacy types and unnecessary pointers from selectable interface --- game/selectable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/selectable.h') diff --git a/game/selectable.h b/game/selectable.h index 9732dca..c794461 100644 --- a/game/selectable.h +++ b/game/selectable.h @@ -12,5 +12,5 @@ public: virtual ~Selectable() = default; DEFAULT_MOVE_COPY(Selectable); - [[nodiscard]] virtual bool intersectRay(const Ray &, Position2D *, float *) const = 0; + [[nodiscard]] virtual bool intersectRay(const Ray &, BaryPosition &, RelativeDistance &) const = 0; }; -- cgit v1.2.3