threejs-worldgen
    Preparing search index...

    Interface Frontage

    Where a lot meets its street.

    interface Frontage {
        edge: number;
        nx: number;
        nz: number;
        x: number;
        z: number;
    }
    Index
    edge: number

    Nearest road edge id (−1 if none found).

    nx: number

    Unit normal pointing from the street into the lot.

    nz: number

    Unit normal pointing from the street into the lot.

    x: number

    Middle of the street-facing lot edge.

    z: number

    Middle of the street-facing lot edge.