pub trait GetColor {
    // Required method
    fn get_color(&self, uv: Vector2D) -> Color;
}
Expand description

Trait that associates a Color with each point on a parametric surface (u,v).

Required Methods§

source

fn get_color(&self, uv: Vector2D) -> Color

Implementors§