diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-06 18:53:22 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-06 18:53:22 +0000 |
commit | acd16970bc93712e7c8c3996816242a04999818b (patch) | |
tree | 24dbc35c1fde12a3d429539bf24605b738f4bef9 /gfx | |
parent | Give collection a virtual desctructor (diff) | |
download | ilt-acd16970bc93712e7c8c3996816242a04999818b.tar.bz2 ilt-acd16970bc93712e7c8c3996816242a04999818b.tar.xz ilt-acd16970bc93712e7c8c3996816242a04999818b.zip |
Introduce the Train concept as a literal collection of rail vehicles
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/followCameraController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |