summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-29 18:32:37 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-29 18:32:37 +0200
commit0009558fcb0833ccdf2dcaec9d83b0413125fa5f (patch)
tree91a6258d27a8840c9020ccfbe3c1afaa528d3df5 /src/core/Camera.cpp
parentFix Win32 OAL build (diff)
parentUpdate README.md (diff)
downloadre3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar.gz
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar.bz2
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar.lz
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar.xz
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.tar.zst
re3-0009558fcb0833ccdf2dcaec9d83b0413125fa5f.zip
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r--src/core/Camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp
index c253d00f..abe0833e 100644
--- a/src/core/Camera.cpp
+++ b/src/core/Camera.cpp
@@ -3587,8 +3587,8 @@ CCamera::CalculateDerivedValues(void)
m_cameraMatrix = Invert(m_matrix);
float hfov = DEGTORAD(CDraw::GetScaledFOV()/2.0f);
- float c = cos(hfov);
- float s = sin(hfov);
+ float c = Cos(hfov);
+ float s = Sin(hfov);
// right plane
m_vecFrustumNormals[0] = CVector(c, -s, 0.0f);