summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-22 20:09:48 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-22 20:09:48 +0000
commita5e085243e73bc4ec2f251997a6abf21996cf990 (patch)
tree697cc664f841291e5efcfecdd7d261d60530c357
parentEnable pedantic warnings (diff)
downloadilt-a5e085243e73bc4ec2f251997a6abf21996cf990.tar.bz2
ilt-a5e085243e73bc4ec2f251997a6abf21996cf990.tar.xz
ilt-a5e085243e73bc4ec2f251997a6abf21996cf990.zip
Zoom the ISO mode follow camera out a bit
-rw-r--r--gfx/followCameraController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp
index 1a5a5d3..25861b6 100644
--- a/gfx/followCameraController.cpp
+++ b/gfx/followCameraController.cpp
@@ -31,7 +31,7 @@ FollowCameraController::updateCamera(Camera * camera) const
break;
case Mode::ISO:
- camera->pos = pos + ((up + north + east) * 20.F);
+ camera->pos = pos + ((up + north + east) * 40.F);
camera->forward = -glm::normalize(up + north + east);
camera->up = glm::normalize(up - north - east);
break;