diff options
Diffstat (limited to 'gfx/followCameraController.cpp')
-rw-r--r-- | gfx/followCameraController.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp index 25861b6..1ee385a 100644 --- a/gfx/followCameraController.cpp +++ b/gfx/followCameraController.cpp @@ -1,8 +1,8 @@ #include "followCameraController.h" #include "game/vehicles/vehicle.h" -#include "gfx/gl/transform.h" #include <gfx/gl/camera.h> #include <glm/glm.hpp> +#include <location.hpp> #include <maths.h> #include <memory> #include <tuple> @@ -15,7 +15,7 @@ FollowCameraController::updateCamera(Camera * camera) const { const auto [pos, rot] = [this]() { const auto t {target.lock()}; - return std::tie(t->location.GetPos(), t->location.GetRot()); + return std::tie(t->location.pos, t->location.rot); }(); switch (mode) { |