summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-21 14:50:00 +0200
committeraap <aap@papnet.eu>2020-06-21 14:50:00 +0200
commit98baa36f1a83362a67c46c2eb75539876b64b5b9 (patch)
treeb8051af78f2479d156729b640b5b336158b1f22a /src/core/Camera.cpp
parentps2 cam transitions done (hopefully) (diff)
downloadre3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar.gz
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar.bz2
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar.lz
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar.xz
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.tar.zst
re3-98baa36f1a83362a67c46c2eb75539876b64b5b9.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index af62e180..785a9d12 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -3561,7 +3561,7 @@ CCamera::CalculateDerivedValues(void)
{
m_cameraMatrix = Invert(m_matrix);
- float hfov = DEGTORAD(CDraw::GetFOV()/2.0f);
+ float hfov = DEGTORAD(CDraw::GetScaledFOV()/2.0f);
float c = cos(hfov);
float s = sin(hfov);