The real pickup reflection fix

This commit is contained in:
Sergeanur 2020-07-29 14:56:06 +03:00
parent 2f40c3dc8b
commit 581cb5edfa
6 changed files with 59 additions and 32 deletions

View file

@ -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);