Struct smallpt::rectangle::Rectangle[][src]

pub struct Rectangle {
    pub position: Vector3<f64>,
    pub normal: Vector3<f64>,
    pub left: Vector3<f64>,
    pub up: Vector3<f64>,
    pub width: f64,
    pub height: f64,
    pub material: Material,
}

Fields

Methods

impl Rectangle
[src]

Trait Implementations

impl Copy for Rectangle
[src]

impl Clone for Rectangle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Traceable for Rectangle
[src]

Auto Trait Implementations

impl Send for Rectangle

impl Sync for Rectangle