Struct truster::intersection::HitRecord [−][src]
pub struct HitRecord { /* fields omitted */ }
Expand description
HitRecord stores some information relating to ray-shape intersections. Cloning is near constant time and memory.
Implementations
Returns a new HitRecord corresponding to the given intersection and ray.
Returns self
’s point slightly outwards from from the shape.
Returns self
’s point slightly inwards from from the shape.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HitRecord
impl !UnwindSafe for HitRecord
Blanket Implementations
Mutably borrows from an owned value. Read more