diff options
Diffstat (limited to 'engine/src/mesh.rs')
-rw-r--r-- | engine/src/mesh.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/src/mesh.rs b/engine/src/mesh.rs index 67b26cc..e07ed35 100644 --- a/engine/src/mesh.rs +++ b/engine/src/mesh.rs @@ -1,6 +1,8 @@ +use ecs::Component; + use crate::vertex::Vertex; -#[derive(Debug)] +#[derive(Debug, Clone, Component)] pub struct Mesh { vertices: Vec<Vertex>, |