From acd16970bc93712e7c8c3996816242a04999818b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 6 Mar 2021 18:53:22 +0000 Subject: Introduce the Train concept as a literal collection of rail vehicles --- gfx/followCameraController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx') diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp index e8a95b3..9e32e21 100644 --- a/gfx/followCameraController.cpp +++ b/gfx/followCameraController.cpp @@ -15,7 +15,7 @@ FollowCameraController::updateCamera(Camera * camera) const { const auto [pos, rot] = [this]() { const auto t {target.lock()}; - return std::tie(t->location.pos, t->location.rot); + return std::tie(t->getLocation().pos, t->getLocation().rot); }(); switch (mode) { -- cgit v1.2.3