Means that i want the result of (dwTick - dwLast) to be casted intoCode:framespersec = 1000.0F / (float)(dwTick - dwLast);
floating point value before dividing 1000.0F by it, which is to prevent
the final result from being rounded into an integer value.




Reply With Quote