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

Function SecToGameFrames

TombEngine/Specific/clock.cpp:132–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132unsigned int SecToGameFrames(float sec)
133{
134 return ((unsigned int)round(sec * (float)FPS));
135}
136
137float GameFramesToSec(unsigned int gameFrames)
138{

Callers 3

IsHeldMethod · 0.85
IsPulsedMethod · 0.85
IsReleasedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected