threejs-worldgen
    Preparing search index...

    Function roadModifiers

    • Flatten modifiers for the roads: one path per run of edges between junctions (bridges skipped, so rivers stay open), split into short pieces so the world's bounding-box culling stays effective.

      Parameters

      Returns FlattenPath[]