summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-10-21 18:30:16 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-10-21 18:30:16 +0100
commit56100b1c4cb02db7608763dddd77f8052a533dae (patch)
treeea8322a78134e1eb9ecca3e34672313cb5740ad5 /gfx
parentRandomise for many trees, positions, rotations (diff)
downloadilt-56100b1c4cb02db7608763dddd77f8052a533dae.tar.bz2
ilt-56100b1c4cb02db7608763dddd77f8052a533dae.tar.xz
ilt-56100b1c4cb02db7608763dddd77f8052a533dae.zip
Further template maths functions
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 52dfb35..cf6da34 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 + (up * 4.8F), -sincosf(rot.y) || 0.F);
+ camera->setView(pos + (up * 4.8F), -sincos(rot.y) || 0.F);
break;
case Mode::ISO: