Function ncollide_procedural::utils::split_index_buffer_and_recover_topology [] [src]

pub fn split_index_buffer_and_recover_topology<P: PartialEq + AsBytes + Clone>(indices: &[Pnt3<u32>], coords: &[P]) -> (Vec<Pnt3<Pnt3<u32>>>, Vec<P>)

Duplicates the indices of each triangle on the given index buffer, giving the same id to each identical vertex.