///
///  Iterates over all vertices in this mesh and calls the callback function with the index for each vertex.
///
Iterates over all vertices in this mesh and calls the callback function with the index for each vertex.
Iterates over all vertices in this mesh and calls the callback function with the index for each vertex .
pub fn for_each_vertex(&self, mut callback: impl FnMut(usize)) {
        for i in 0..self.positions.len() {
            callback(i);
        }
    }
pub fn for_each_vertex ( & self , mut callback : impl FnMut ( usize ) ) { for i in 0 .. self . positions . len ( ) { callback ( i ) ; } }
Iterates over all vertices in this mesh and calls the callback function with the index for each vertex.
Iterates over all vertices in this mesh and calls the callback function with the index for each vertex .
&self
callback
impl FnMut(usize)