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

Determines if an FRay3 intersects the shape or primitive and returns details about the intersection.

Implementors