Steps a number by delta, snapped to step and kept in [min, max]. With wrap, passing
the top starts again at the bottom and dropping below the bottom lands on the top; without it,
the value clamps - a level cap or a bag size, where wrapping would be a surprise.
Steps a number by
delta, snapped tostepand kept in[min, max]. Withwrap, passing the top starts again at the bottom and dropping below the bottom lands on the top; without it, the value clamps - a level cap or a bag size, where wrapping would be a surprise.