UNPKG

@rickosborne/hexgrid

Version:

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

6 lines 242 B
import type { HexCubePoint } from "./cube.js"; /** * Calculate the Manhattan distance between two points. */ export declare const cubeDistance: (left: HexCubePoint, right: HexCubePoint) => number; //# sourceMappingURL=cube-distance.d.ts.map