Struct mgf::Intersection
[−]
[src]
pub struct Intersection {
pub p: Point3<f32>,
pub t: f32,
}A collision between a non-volumetric object and a volumetric object.
Fields
p: Point3<f32>
The point of intersection.
t: f32
The time of intersection relative to the velocity of the non-volumetric object.
Trait Implementations
impl Copy for Intersection[src]
impl Clone for Intersection[src]
fn clone(&self) -> Intersection[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more