diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:56:06 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-29 14:56:06 +0300 |
commit | 581cb5edfa39a263bcbcdf3e37c608a5c7758849 (patch) | |
tree | 2b25ac08ac733d3a72bd52dfbdd3028c60ce4c37 /src/core/Camera.cpp | |
parent | 2f40c3dc8bd30336189b2f53324ae6aa234993a1 (diff) |
The real pickup reflection fix
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 4 |
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); |