rays: derive Debug on Ray.

This commit is contained in:
Bill Thiede 2021-07-21 12:53:19 -07:00
parent c0e422a7eb
commit 2f85697b88

View File

@ -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,