[][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

fn p(&self, wo: &Vector3f, wi: &Vector3f) -> Float

fn sample_p(&self, wo: &Vector3f, wi: &mut Vector3f, u: &Point2f) -> Float

Loading content...

Implementors

impl PhaseFunction for HenyeyGreenstein[src]

Loading content...