[][src]Trait pbrt::core::medium::PhaseFunction

pub trait PhaseFunction {
    fn p(&self, wo: &Vector3f, wi: &Vector3f) -> Float;
fn sample_p(&self, wo: &Vector3f, wi: &mut Vector3f, u: &Point2f) -> Float; }

Required Methods

Implementors

impl PhaseFunction for HenyeyGreenstein
[src]