Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThirteenAG/WidescreenFixesPack
/ GetFOV
Function
GetFOV
includes/stdafx.cpp:64–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
}
63
64
float GetFOV(float f, float ar)
65
{
66
return atan(3.0f / 4.0f * ar * tan(f * 0.5f));
67
}
68
69
float GetFOV2(float f, float ar)
70
{
Callers
1
Init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected