From de9909df038d1b6bb47bcc82fea5f8dc9dec2491 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 28 Dec 2021 15:42:50 +0000 Subject: Initial implementation for being able to click in the main window to select something --- game/vehicles/train.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'game/vehicles/train.h') diff --git a/game/vehicles/train.h b/game/vehicles/train.h index ef49209..c823aed 100644 --- a/game/vehicles/train.h +++ b/game/vehicles/train.h @@ -9,6 +9,7 @@ #include "railVehicle.h" #include "vehicle.h" #include +#include #include #include #include @@ -27,6 +28,8 @@ public: void render(const Shader & shader) const override; + [[nodiscard]] bool intersectRay(const glm::vec3 &, const glm::vec3 &, glm::vec2 *, float *) const override; + void tick(TickDuration elapsed) override; void doActivity(Go *, TickDuration) override; void doActivity(Idle *, TickDuration) override; -- cgit v1.2.3