threejs-worldgen
    Preparing search index...

    Interface TaggedPolygon<T>

    A polygon with one tag per edge (edge i = polygon[i] → polygon[i + 1]).

    interface TaggedPolygon<T> {
        polygon: Vec2[];
        tags: T[];
    }

    Type Parameters

    • T
    Index
    polygon: Vec2[]

    Outline.

    tags: T[]

    One tag per edge.