derive(PartialEq) for ColourXyz

This commit is contained in:
Matthew Gordon 2020-09-04 21:59:34 -04:00
parent 84fbc1fef5
commit bc69ca04a8
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use crate::math::{Mat3, Vec3};
use super::ColourRgbF; use super::ColourRgbF;
/// A CIE XYZ Colour Value /// A CIE XYZ Colour Value
#[derive(Default, Clone, Copy, Debug)] #[derive(Clone, Debug, Default, PartialEq)]
pub struct ColourXyz { pub struct ColourXyz {
pub values: Vec3, pub values: Vec3,
} }