Is this code fine for every frame count? it doesntned to be super accurate
void updateInterval() {
updatingIntervalCounter++;
updateNow = false;
if (updatingIntervalCounter > frameRate/8) {
updatingIntervalCounter = 0;
updateNow = true;
}
}
Thank you guys