Returns all cells on the straight line from a to b, inclusive. Uses fractional hex lerp + rounding, so the result follows the natural hex grid line. Result length: hexDistance(a, b) + 1.
a
b
hexDistance(a, b) + 1
Returns all cells on the straight line from
atob, inclusive. Uses fractional hex lerp + rounding, so the result follows the natural hex grid line. Result length:hexDistance(a, b) + 1.