diff --git a/src/model.rs b/src/model.rs index 0fbd107..3a9980b 100644 --- a/src/model.rs +++ b/src/model.rs @@ -76,7 +76,7 @@ impl MapVertexId for PolygonGroup{ } } /// Ah yes, a group of things to render at the same time -#[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)] +#[derive(Clone,Copy,Debug,Hash,id::Id,Eq,PartialEq)] pub struct TextureId(u32); #[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)] pub struct RenderConfigId(u32); @@ -103,7 +103,7 @@ pub struct IndexedPhysicsGroup{ pub groups:Vec, } //This is a superset of PhysicsModel and GraphicsModel -#[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)] +#[derive(Clone,Copy,Debug,Hash,id::Id,Eq,PartialEq)] pub struct MeshId(u32); #[derive(Clone)] pub struct Mesh{