chickadee » hexgrid » indexer

grid-size cellprocedure

Return the index corresponding to the given cell in the vector returned by make-grid. Bounds will be checked.

(Note: curried.)