Struct smallpt::sphere::Sphere[][src]

pub struct Sphere {
    pub radius: f64,
    pub position: Vector3<f64>,
    pub material: Material,
}

Fields

Methods

impl Sphere
[src]

Trait Implementations

impl Copy for Sphere
[src]

impl Clone for Sphere
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Sphere

impl Sync for Sphere