[][src]Trait libraymarcher::Color

pub trait Color: Default + Copy + Clone where
    Self: Mul<f64, Output = Self>,
    Self: Add<Self, Output = Self>, 
{ fn white() -> Self; }

Any type implementing this will be able to be used as an input/output type to the raymarcher

Any T: Color must be a vector field:

Required methods

fn white() -> Self

Loading content...

Implementations on Foreign Types

impl Color for f64[src]

Loading content...

Implementors

impl Color for Vec3[src]

Loading content...