The minimap centre for a cell, useful for overlays that must share its topology.
import { minimapCellCenter } from '@datamoc/mw_games/two-d/render';const centre = minimapCellCenter(3, 2, 4, 'hex'); Copy
import { minimapCellCenter } from '@datamoc/mw_games/two-d/render';const centre = minimapCellCenter(3, 2, 4, 'hex');
The minimap centre for a cell, useful for overlays that must share its topology.