summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-12-29 13:20:55 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-12-29 13:20:55 +0000
commit0841ead91c49a212134f19f7c0b411984b0fda29 (patch)
tree605d5e8e512747c79875d2c3a185c9740f7d1080 /gfx
parentRun shadow mapper in camera relative space (diff)
downloadilt-0841ead91c49a212134f19f7c0b411984b0fda29.tar.bz2
ilt-0841ead91c49a212134f19f7c0b411984b0fda29.tar.xz
ilt-0841ead91c49a212134f19f7c0b411984b0fda29.zip
Remove weird operator! on vec2/3
Diffstat (limited to 'gfx')
-rw-r--r--gfx/followCameraController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/followCameraController.cpp b/gfx/followCameraController.cpp
index aee2187..9b23173 100644
--- a/gfx/followCameraController.cpp
+++ b/gfx/followCameraController.cpp
@@ -24,7 +24,7 @@ FollowCameraController::updateCamera(Camera * camera) const
break;
case Mode::Ride:
- camera->setView(pos + GlobalPosition3D(up * 4.8F), !-sincosf(rot.y));
+ camera->setView(pos + GlobalPosition3D(up * 4.8F), -sincosf(rot.y) ^ 0.F);
break;
case Mode::ISO: