[][src]Function pbrt::integrators::bdpt::mis_weight

pub fn mis_weight<'a>(
    scene: &'a Scene,
    light_vertices: &'a Vec<Vertex<'a, 'a, 'a>>,
    camera_vertices: &'a Vec<Vertex<'a, 'a, 'a>>,
    sampled: &Vertex,
    s: usize,
    t: usize,
    light_pdf: &Arc<Distribution1D>
) -> Float