Trait Intersector
Source pub trait Intersector {
// Required method
fn intersect(&self, ray: &mut Ray) -> u32;
}
Expand description
Intersector for BVH and nodes intersection.
Intersect this instance with a ray.
Ray::hit is mutated with the intersection data.
Returns the number of steps (A.K.A intersections) performed.