Skip to main content

weld

Function weld 

Source
pub fn weld(positions: &[V3]) -> Vec<u32>
Expand description

For each vertex of positions, the index of the first vertex at exactly the same place. Formats such as STL repeat a corner for every triangle that uses it; welding lets them share normals and edges.