Struct smallpt::hit::Hit[][src]

pub struct Hit {
    pub p: Vector3<f64>,
    pub n: Vector3<f64>,
    pub t: f64,
    pub material: Material,
}

Fields

Methods

impl Hit
[src]

Trait Implementations

impl Copy for Hit
[src]

impl Clone for Hit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Hit

impl Sync for Hit