hex-world
    Preparing search index...

    Function hexToWorld

    • Returns the world-space (x, z) center of a hex cell. Y is always 0 — add terrain elevation separately.

      Parameters

      Returns { x: number; z: number }