fn conv(v: &RenderVertex) -> Vertex {
    Vertex {
        position: [v.pos.x, v.pos.y, v.pos.z],
        col: v.col.packed(),
    }
}
/// Convert a generic RenderVertex into an OpenGL-compatible vertex.
Convert a generic RenderVertex into an OpenGL-compatible vertex.
Convert a generic RenderVertex into an OpenGL - compatible vertex .
fn conv(v: &RenderVertex) -> Vertex {
    Vertex {
        position: [v.pos.x, v.pos.y, v.pos.z],
        col: v.col.packed(),
    }
}
fn conv ( v : & RenderVertex ) -> Vertex { Vertex { position : [ v . pos . x , v . pos . y , v . pos . z ] , col : v . col . packed ( ) , } }
Convert a generic RenderVertex into an OpenGL-compatible vertex.
Convert a generic RenderVertex into an OpenGL - compatible vertex .
v
&RenderVertex
v
&RenderVertex