UNPKG

@rickosborne/hexgrid

Version:

Rick Osborne's collection of hexagonal grid-related code.

6 lines 319 B
import type { CubeDiagDirection, HexCubeDirection, HexCubePoint } from "./cube.js"; /** * Find the neighbor of the given hex in the given direction. */ export declare const cubeNeighbor: (cube: HexCubePoint, direction: HexCubeDirection | CubeDiagDirection) => HexCubePoint; //# sourceMappingURL=cube-neighbor.d.ts.map