UNPKG

@rickosborne/hexgrid

Version:

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

14 lines (13 loc) 389 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); import { CUBE } from "./hex-system.mjs"; const cubeAdd = /* @__PURE__ */ __name((left, right) => ({ q: left.q + right.q, r: left.r + right.r, s: left.s + right.s, system: CUBE }), "cubeAdd"); export { cubeAdd }; //# sourceMappingURL=cube-add.mjs.map