Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ GetInterpolationFactor
Method
GetInterpolationFactor
TombEngine/Specific/clock.cpp:81–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
float HighFramerateSynchronizer::GetInterpolationFactor()
82
{
83
return std::min((float)_controlDelay / (float)CONTROL_FRAME_TIME, 1.0f);
84
}
85
86
int TimeSync()
87
{
Callers
3
DoGameLoop
Function · 0.45
Draw
Method · 0.45
Draw
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected