MCPcopy 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
64float GetFOV(float f, float ar)
65{
66 return atan(3.0f / 4.0f * ar * tan(f * 0.5f));
67}
68
69float GetFOV2(float f, float ar)
70{

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected