MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetInterpolatedFov

Method GetInterpolatedFov

TombEngine/Game/Hud/DrawItems/DrawItems.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 float DrawItemsController::GetInterpolatedFov(float alpha) const
64 {
65 if (std::abs(_prevFov - _fov) < EPSILON)
66 return _fov;
67
68 return Lerp(_prevFov, _fov, alpha);
69 }
70
71 Vector4 DrawItemsController::GetAmbientLight() const
72 {

Callers 1

DrawObjectIn3DSpaceMethod · 0.80

Calls 1

LerpFunction · 0.85

Tested by

no test coverage detected