interface HexagonalGridCube {
    q: number;
    r: number;
    s: number;
}

Properties

q r s

Properties

q: number

The coordinate along the E-W (columns) or SW-NE (rows) axis. Equal to the offset column coordinate if column orientation.

r: number

The coordinate along the NE-SW (columns) or N-S (rows) axis. Equal to the offset row coordinate if row orientation.

s: number

The coordinate along the SE-NW axis.