Upload a list of fill regions. Each region is triangulated by the shared
even-odd triangulator (fill-triangulate.ts) into a single vertex buffer.
Pass an empty array to clear. Rings with fewer than 3 vertices are
dropped, and so is any ring set that yields no triangle at all (a fully
collinear bound). Inner bounds themselves are never dropped: since #2516
the bridge always finds an anchor, so a hole cannot fall out of the
result the way it used to when it "couldn't be merged".
Upload a list of fill regions. Each region is triangulated by the shared even-odd triangulator (
fill-triangulate.ts) into a single vertex buffer.Pass an empty array to clear. Rings with fewer than 3 vertices are dropped, and so is any ring set that yields no triangle at all (a fully collinear bound). Inner bounds themselves are never dropped: since #2516 the bridge always finds an anchor, so a hole cannot fall out of the result the way it used to when it "couldn't be merged".