1 2 3 4 5 6 7 8
//! The ray class used when probing the 3d scene use crate::core::Vector3f; pub struct Ray { pub origin: Vector3f, pub direction: Vector3f, }