MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / GetTimeMult

Method GetTimeMult

Sources/nCine/Base/FrameTimer.h:50–52  ·  view source on GitHub ↗

Returns a factor that represents how long the last frame took relative to the desired frame time

Source from the content-addressed store, hash-verified

48
49 /// Returns a factor that represents how long the last frame took relative to the desired frame time
50 inline float GetTimeMult() const {
51 return _timeMults[0];
52 }
53
54 private:
55 /// Number of seconds between two average FPS calculations (user defined)

Callers 2

guiTopRightMethod · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected