Wraps an index around a given range.
The number to wrap within 0 to length, so if this was -1 the result would be length-1.
The right bound to wrap around back to 0 from.
The index "wrapped around" 0 to length. 0 <= result < length.
Generated using TypeDoc
Utility functions for math.