[−][src]Trait arctk::geom::properties::trace::Trace
Trace trait implementation. Types implementing this trait can be traced using 'Ray's.
Required methods
fn hit(&self, ray: &Ray) -> bool
Determine if a ray hit occurs.
fn dist(&self, ray: &Ray) -> Option<f64>
Distance to the surface along the ray's line of travel.
fn dist_side(&self, ray: &Ray) -> Option<(f64, Side)>
Distance to the surface along the ray's line of travel and side of collision.