Trait rustracer::material::ScatterRay
source · pub trait ScatterRay {
// Required method
fn scatter_ray(
&self,
pcg: (f32, f32),
incoming_dir: Vector,
interaction_point: Point,
normal: Normal,
depth: u32
) -> Ray;
}
Expand description
A trait for scatter a Ray
for a particular BRDF.