Colour

Type Alias Colour 

Source
pub type Colour = Vec3;
Expand description

Represents an RGB color with values between 0.0 and 1.0. Will eventually contain support for conversions with the image crate

Alias for Vec3.

Aliased Type§

pub struct Colour {
    pub x: f64,
    pub y: f64,
    pub z: f64,
}

Fields§

§x: f64

X component of the vector.

§y: f64

Y component of the vector.

§z: f64

Z component of the vector.