. . " }Second-off you are converting the values to ???float??? while still in expanded form, meaning you are converting values such as 351,357,654,184 etc., which you should know better than to do. (Also, use static_cast for sake???s Pete.)deltaTime += static_cast<float>(currentTime.QuadPart - lastTime.QuadPart) / frequency.QuadPart;Third-off, don???t accumulate time as a float." . .