pub fn push_vertex(&mut self, vertex: Vertex) -> u16 {
        let index = self.vertices.len();
        self.vertices.push(vertex);
        index as u16
    }
/// Push a single vertex and get back its index.
Push a single vertex and get back its index.
Push a single vertex and get back its index .
pub fn push_vertex(&mut self, vertex: Vertex) -> u16 {
        let index = self.vertices.len();
        self.vertices.push(vertex);
        index as u16
    }
pub fn push_vertex ( & mut self , vertex : Vertex ) -> u16 { let index = self . vertices . len ( ) ; self . vertices . push ( vertex ) ; index as u16 }
Push a single vertex and get back its index.
Push a single vertex and get back its index .
&mut self
vertex
Vertex
&mut self
vertex
Vertex