diff --git a/citro3d/src/math.rs b/citro3d/src/math.rs index 35a188e..ec2ebfb 100644 --- a/citro3d/src/math.rs +++ b/citro3d/src/math.rs @@ -21,7 +21,7 @@ pub use projection::{ /// Uses the PICA layout of WZYX #[doc(alias = "C3D_IVec")] #[repr(transparent)] -#[derive(Clone, Copy, PartialEq, Eq)] +#[derive(Clone, Copy, PartialEq, Eq, Debug)] pub struct IVec(citro3d_sys::C3D_IVec); impl IVec { diff --git a/citro3d/src/uniform.rs b/citro3d/src/uniform.rs index b30ff70..edd28bf 100644 --- a/citro3d/src/uniform.rs +++ b/citro3d/src/uniform.rs @@ -24,6 +24,7 @@ impl From for i32 { /// A uniform which may be bound as input to a shader program #[non_exhaustive] +#[derive(Debug, PartialEq, Clone, Copy)] pub enum Uniform { /// Single float uniform (`.fvec name`) Float(FVec4),