Module graphics::modular_index [−] [src]

Helper functions for computing modular index safely.

Functions

next

Computes next modular index safely.

offset

Computes modular offset safely for indices.

previous

Computes previous modular index safely.