Trait bismuth::cube::RayCast
[−]
[src]
pub trait RayCast: PartialRayCast { fn ray_intersection(&self, ray: &FRay3) -> Option<RayIntersection>; }
Shape or primitive that can test for intersection with an FRay3
.
Required Methods
fn ray_intersection(&self, ray: &FRay3) -> Option<RayIntersection>
Determines if an FRay3
intersects the shape or primitive and returns
details about the intersection.
Implementors
impl<T> RayCast for T where
T: PartialRayCast + PointNormal,