diff --git a/rtchallenge/src/rays.rs b/rtchallenge/src/rays.rs index 285536b..b978479 100644 --- a/rtchallenge/src/rays.rs +++ b/rtchallenge/src/rays.rs @@ -1,7 +1,7 @@ use crate::{matrices::Matrix4x4, tuples::Tuple, Float}; /// Rays have an origin and a direction. This datatype is the 'ray' in 'raytracer'. -#[derive(Debug)] +#[derive(Debug, Default, Clone, PartialEq)] pub struct Ray { pub origin: Tuple, pub direction: Tuple,