#[repr(C)] #[derive(Copy, Clone, Debug)] pub struct Vertex { pub position: [f32; 3], pub tex_coords: [f32; 2] } #[derive(Clone, Default)] pub struct Mesh { pub vertices: Vec, pub indices: Option>, } pub struct Model { pub mesh: Mesh, //pub material }