diff --git a/rtchallenge/src/rays.rs b/rtchallenge/src/rays.rs index f87a026..285536b 100644 --- a/rtchallenge/src/rays.rs +++ b/rtchallenge/src/rays.rs @@ -1,6 +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)] pub struct Ray { pub origin: Tuple, pub direction: Tuple,