threejs-worldgen
    Preparing search index...

    Interface PointOnSegment

    Closest point on a segment.

    interface PointOnSegment {
        distance: number;
        t: number;
    }
    Index
    distance: number

    Distance to the segment.

    t: number

    Parameter of the closest point (0..1).