threejs-worldgen
    Preparing search index...

    Interface Section

    One cross-section of a MeshBuilder.loft.

    interface Section {
        bottom: number;
        keel?: number;
        round: number;
        top: number;
        w: number;
        z: number;
    }
    Index
    bottom: number

    Bottom height.

    keel?: number

    0 = flat bottom … 1 = V-shaped keel.

    round: number

    0 = boxy … 1 = elliptical.

    top: number

    Top height.

    w: number

    Half width.

    z: number

    Position along the hull (z), metres.