This commit is contained in:
aap 2020-06-21 14:50:00 +02:00
parent 3859efff42
commit 98baa36f1a
4 changed files with 14 additions and 8 deletions

View file

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