mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 17:54:07 +00:00
FOV fix
This commit is contained in:
parent
3859efff42
commit
98baa36f1a
4 changed files with 14 additions and 8 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue