Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun clone(polygon: BufferPolygon, result: BufferPolygon): BufferPolygon

Copies data from source polygon to result. If the result polygon is not new (the last polygon in the collection) then source and result polygons must have the same vertex counts, hole counts, and triangle counts.