hex-world
    Preparing search index...

    Function hexCorner

    • Returns the world-space (x, z) position of a specific corner (0–5) of a hex. Corner 0 is at the East (or North-East for pointy-top) and indices increase clockwise.

      Parameters

      Returns { x: number; z: number }