A widening hex-grid cone, with width extra cells on each side at its far end.
width
import { hexConeCells } from '@datamoc/mw_games/roguelike';const cells = hexConeCells({ x: 2, y: 2 }, { x: 5, y: 2 }, 2); Copy
import { hexConeCells } from '@datamoc/mw_games/roguelike';const cells = hexConeCells({ x: 2, y: 2 }, { x: 5, y: 2 }, 2);
A widening hex-grid cone, with
widthextra cells on each side at its far end.