diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-07 02:51:42 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-07 02:51:42 +0000 |
commit | d6e99a696aa582b81018078b68f6600c8030d643 (patch) | |
tree | 5c1451bbc76c31f78ddd169fca7780a0943f5910 /game/vehicles | |
parent | Reformat with new clang-format (diff) | |
download | ilt-d6e99a696aa582b81018078b68f6600c8030d643.tar.bz2 ilt-d6e99a696aa582b81018078b68f6600c8030d643.tar.xz ilt-d6e99a696aa582b81018078b68f6600c8030d643.zip |
WIP typedefing all the things - headers
Diffstat (limited to 'game/vehicles')
-rw-r--r-- | game/vehicles/railVehicle.h | 2 | ||||
-rw-r--r-- | game/vehicles/train.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/game/vehicles/railVehicle.h b/game/vehicles/railVehicle.h index be88142..e034852 100644 --- a/game/vehicles/railVehicle.h +++ b/game/vehicles/railVehicle.h @@ -17,7 +17,7 @@ public: void move(const Train *, float & trailBy); - [[nodiscard]] bool intersectRay(const Ray &, glm::vec2 *, float *) const override; + [[nodiscard]] bool intersectRay(const Ray &, Position2D *, float *) const override; RailVehicleClassPtr rvClass; using LV = RailVehicleClass::LocationVertex; diff --git a/game/vehicles/train.h b/game/vehicles/train.h index 20c3bc4..7f0bb99 100644 --- a/game/vehicles/train.h +++ b/game/vehicles/train.h @@ -27,7 +27,7 @@ public: return objects.front()->location; } - [[nodiscard]] bool intersectRay(const Ray &, glm::vec2 *, float *) const override; + [[nodiscard]] bool intersectRay(const Ray &, Position2D *, float *) const override; void tick(TickDuration elapsed) override; void doActivity(Go *, TickDuration) override; |