hex-world
    Preparing search index...

    Interface HexLayout

    Defines how hex coordinates map to world space. Create one with createLayout and pass it to all geometry and picking functions.

    interface HexLayout {
        orientation: HexOrientation;
        size: number;
        originX: number;
        originZ: number;
    }
    Index

    Properties

    orientation: HexOrientation
    size: number

    Hex radius in world units (center to corner).

    originX: number

    World-space X origin offset.

    originZ: number

    World-space Z origin offset.