← Back to context Comment by anal_reactor 1 day ago Long shot, but maybe if the value is small, then this loop could be faster than division. 1 comment anal_reactor Reply matsemann 1 day ago If the code runs every frame, it's probably always small and does just one iteration once in a while when it wraps over the value.
matsemann 1 day ago If the code runs every frame, it's probably always small and does just one iteration once in a while when it wraps over the value.
If the code runs every frame, it's probably always small and does just one iteration once in a while when it wraps over the value.