pub fn advance_layer(&mut self) {
        self.layers.swap(0, 1);
        for i in &mut self.cells[0] {
            *i = 0;
        }
        for i in &mut self.rows[0] {
            *i = [0; 3];
        }
    }
/// Update the cache when mesh extraction moves to the next layer
Update the cache when mesh extraction moves to the next layer
Update the cache when mesh extraction moves to the next layer
pub fn advance_layer(&mut self) {
        self.layers.swap(0, 1);
        for i in &mut self.cells[0] {
            *i = 0;
        }
        for i in &mut self.rows[0] {
            *i = [0; 3];
        }
    }
pub fn advance_layer ( & mut self ) { self . layers . swap ( 0 , 1 ) ; for i in & mut self . cells [ 0 ] { * i = 0 ; } for i in & mut self . rows [ 0 ] { * i = [ 0 ; 3 ] ; } }
Update the cache when mesh extraction moves to the next layer
Update the cache when mesh extraction moves to the next layer
&mut self