From 2f85697b88e35006fd002bc5afa3ef3a0c392f9a Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Wed, 21 Jul 2021 12:53:19 -0700 Subject: [PATCH] rays: derive Debug on Ray. --- rtchallenge/src/rays.rs | 1 + 1 file changed, 1 insertion(+) 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,