threejs-worldgen
    Preparing search index...

    Interface RoadNodeLike

    A road node: threejs-city's RoadGraph nodes and CityData.roads.nodes both fit.

    interface RoadNodeLike {
        x: number;
        y?: number;
        z: number;
    }
    Index
    x y? z
    x: number

    Position (frame-local).

    y?: number

    Road surface height (local y); NaN or missing = read the ground.

    z: number

    Position (frame-local).