diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-29 14:12:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-12-29 14:12:40 +0000 |
commit | 048f18e2a0b32044525cef41fa053984433c74b9 (patch) | |
tree | dfa4a11169654924c55a4dbfb0de3863e1f33342 /gfx/followCameraController.cpp | |
parent | Remove weird operator! on vec2/3 (diff) | |
download | ilt-048f18e2a0b32044525cef41fa053984433c74b9.tar.bz2 ilt-048f18e2a0b32044525cef41fa053984433c74b9.tar.xz ilt-048f18e2a0b32044525cef41fa053984433c74b9.zip |
Remove misleading power operator^ on vec2/3
Diffstat (limited to 'gfx/followCameraController.cpp')
-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 9b23173..5114840 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) ^ 0.F); + camera->setView(pos + GlobalPosition3D(up * 4.8F), -sincosf(rot.y) || 0.F); break; case Mode::ISO: |