UNPKG

@caveworld/honeycomb-grid

Version:
3 lines (2 loc) 253 B
import { HexPrototype, Point } from '../types'; export declare const pointToCube: ({ dimensions: { xRadius, yRadius }, origin, isPointy }: Pick<HexPrototype, 'dimensions' | 'origin' | 'isPointy'>, { x, y }: Point) => import("../types").CubeCoordinates;