UNPKG

@rickosborne/hexgrid

Version:

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

14 lines (13 loc) 457 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); import { AXIAL } from "./hex-system.mjs"; import { lerp } from "./lerp.mjs"; const axialLerp = /* @__PURE__ */ __name((left, right, fraction01) => ({ q: lerp(left.q, right.q, fraction01), r: lerp(left.r, right.r, fraction01), system: AXIAL }), "axialLerp"); export { axialLerp }; //# sourceMappingURL=axial-lerp.mjs.map