From 605db8cd3778bd2f58a956a0776c1001d7286def Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 21 Feb 2021 16:43:56 +0000 Subject: Named model parts, fix bogie spelling, new brush47 model --- game/vehicles/railloco.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'game/vehicles/railloco.h') diff --git a/game/vehicles/railloco.h b/game/vehicles/railloco.h index df5f970..ddc706f 100644 --- a/game/vehicles/railloco.h +++ b/game/vehicles/railloco.h @@ -12,7 +12,7 @@ class Shader; class Texture; class RailVehicle : public Vehicle { public: - struct Bogey { + struct Bogie { Transform location; MeshPtr mesh; }; @@ -20,7 +20,7 @@ public: using Vehicle::Vehicle; void render(const Shader & shader) const override; - std::array bogeys; + std::array bogies; MeshPtr bodyMesh; std::shared_ptr texture; float wheelBase; @@ -45,7 +45,7 @@ public: private: void move(TickDuration dur); - [[nodiscard]] Transform getBogeyPosition(float linkDist, float dist) const; + [[nodiscard]] Transform getBogiePosition(float linkDist, float dist) const; void updateRailVehiclePosition(RailVehicle *, float trailBy) const; void updateWagons() const; }; -- cgit v1.2.3