MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / fromFrameRate

Function fromFrameRate

source/utils/FrameRateLimiter.cpp:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 template<typename T>
28 T fromFrameRate(T frameRate)
29 {
30 return divisor / frameRate;
31 }
32
33 //Since we are just inverting to get the framerate,
34 //we can use the same fuction to invert back.

Callers 2

FrameRateLimiterMethod · 0.85
setFrameRateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected