MCPcopy 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
81float HighFramerateSynchronizer::GetInterpolationFactor()
82{
83 return std::min((float)_controlDelay / (float)CONTROL_FRAME_TIME, 1.0f);
84}
85
86int TimeSync()
87{

Callers 3

DoGameLoopFunction · 0.45
DrawMethod · 0.45
DrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected