From 1401c7ad13e9fb4c6c64dffa5089bc9f5253a1e1 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 25 Jul 2024 17:47:32 -0700 Subject: [PATCH] debug trait --- src/model.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{