Browse Source

fix: Uniform missing standard derives

pull/43/head
Natasha England-Elbro 11 months ago
parent
commit
7a5b24c90c
No known key found for this signature in database
GPG Key ID: 46F323AE9236FD6A
  1. 2
      citro3d/src/math.rs
  2. 1
      citro3d/src/uniform.rs

2
citro3d/src/math.rs

@ -21,7 +21,7 @@ pub use projection::{ @@ -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 {

1
citro3d/src/uniform.rs

@ -24,6 +24,7 @@ impl From<Index> for i32 { @@ -24,6 +24,7 @@ impl From<Index> 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),

Loading…
Cancel
Save