Function compose

Source
pub fn compose(meshes: &[TriMesh]) -> TriMesh
Expand description

Combine meshes into one, rebasing each mesh’s indices.

The inverse of decompose up to vertex ordering: positions are concatenated in argument order and never merged, so composing meshes that share a coordinate leaves them as separate components. Merging coincident vertices is axiolid-heal’s weld, deliberately not done here.