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: f64X component of the vector.
y: f64Y component of the vector.
z: f64Z component of the vector.