diff options
Diffstat (limited to 'game/vehicles/railloco.h')
-rw-r--r-- | game/vehicles/railloco.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/vehicles/railloco.h b/game/vehicles/railloco.h index ddc706f..f08de05 100644 --- a/game/vehicles/railloco.h +++ b/game/vehicles/railloco.h @@ -1,9 +1,9 @@ #include "game/network/link.h" #include "game/vehicles/vehicle.h" #include "game/worldobject.h" -#include "gfx/gl/transform.h" #include "gfx/models/mesh.h" #include <array> +#include <location.hpp> #include <memory> #include <vector> @@ -13,7 +13,7 @@ class Texture; class RailVehicle : public Vehicle { public: struct Bogie { - Transform location; + Location location; MeshPtr mesh; }; @@ -45,7 +45,7 @@ public: private: void move(TickDuration dur); - [[nodiscard]] Transform getBogiePosition(float linkDist, float dist) const; + [[nodiscard]] Location getBogiePosition(float linkDist, float dist) const; void updateRailVehiclePosition(RailVehicle *, float trailBy) const; void updateWagons() const; }; |