pub trait Eval {
// Required method
fn eval(
&self,
normal: Normal,
in_dir: Vector,
out_dir: Vector,
uv: Vector2D
) -> Color;
}
Expand description
A trait for evaluating a particular BRDF on a parametric surface (u,v)
.