debug trait

This commit is contained in:
Quaternions 2024-07-25 17:47:32 -07:00
parent 7b826e11be
commit 1401c7ad13

View File

@ -76,7 +76,7 @@ impl MapVertexId for PolygonGroup{
} }
} }
/// Ah yes, a group of things to render at the same time /// 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); pub struct TextureId(u32);
#[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)] #[derive(Clone,Copy,Hash,id::Id,Eq,PartialEq)]
pub struct RenderConfigId(u32); pub struct RenderConfigId(u32);
@ -103,7 +103,7 @@ pub struct IndexedPhysicsGroup{
pub groups:Vec<PolygonGroupId>, pub groups:Vec<PolygonGroupId>,
} }
//This is a superset of PhysicsModel and GraphicsModel //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); pub struct MeshId(u32);
#[derive(Clone)] #[derive(Clone)]
pub struct Mesh{ pub struct Mesh{