UNPKG

@caveworld/honeycomb-grid

Version:
3 lines (2 loc) 165 B
import { Hex, HexPrototype, Point } from '../types'; export declare function center(hexOrPrototype: Hex | Pick<HexPrototype, 'width' | 'height' | 'origin'>): Point;