1 2 3 4 5 6 7 8 9 10
use crate::{Ray3, collision::RaycastInfo}; pub trait IRaycast { /// Raycasts with the given ray /// - **ray**: The ray to raycast with /// /// **Returns**: Returns the information on the raycast fn raycast(&self, ray: Ray3) -> RaycastInfo; }