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:52:44 +0200
commit60f736f20fe9493936dab95963b52b18d3353ffc (patch)
tree40a934885b26e9d44e88a4dd3965627ecfddd364 /src/core/Camera.cpp
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-60f736f20fe9493936dab95963b52b18d3353ffc.tar
re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.gz
re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.bz2
re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.lz
re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.xz
re3-60f736f20fe9493936dab95963b52b18d3353ffc.tar.zst
re3-60f736f20fe9493936dab95963b52b18d3353ffc.zip
Diffstat (limited to 'src/core/Camera.cpp')
-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 45659f72..e67c68d2 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -3994,7 +3994,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);