Skip to main content

append_mesh

Function append_mesh 

Source
pub fn append_mesh(
    tx: &mut Transaction<'_>,
    source: &AppendSource,
) -> Result<AppendReport>
Expand description

Copies source into tx, returning the new vertex ids in source order.

Triangle indices past the positions are rejected before anything is written. Either every vertex and triangle lands or nothing does.