UNPKG

@rickosborne/hexgrid

Version:

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

16 lines (15 loc) 424 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); import { lerp } from "./lerp.mjs"; const cubeLerp = /* @__PURE__ */ __name((a, b, frac) => { return { q: lerp(a.q, b.q, frac), r: lerp(a.r, b.r, frac), s: lerp(a.s, b.s, frac), system: a.system }; }, "cubeLerp"); export { cubeLerp }; //# sourceMappingURL=cube-lerp.mjs.map