- removed unused I_GetBuildTimeFrac function.

This commit is contained in:
Christoph Oelckers 2021-02-03 12:18:29 +01:00
parent c712b84889
commit ba22df2a2a
2 changed files with 0 additions and 10 deletions

View file

@ -185,15 +185,6 @@ double I_GetTimeFrac()
return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime);
}
double I_GetBuildTimeFrac()
{
int currentTic = NSToBuildTic(CurrentFrameStartTime - FirstFrameStartTime);
uint64_t ticStartTime = FirstFrameStartTime + BuildTicToNS(currentTic);
uint64_t ticNextTime = FirstFrameStartTime + BuildTicToNS(currentTic + 1);
return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime);
}
void I_FreezeTime(bool frozen)
{
if (frozen)

View file

@ -17,7 +17,6 @@ uint64_t I_GetTimeNS();
int I_GetBuildTime();
double I_GetTimeFrac();
double I_GetBuildTimeFrac();
// like I_GetTime, except it waits for a new tic before returning
int I_WaitForTic(int);