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

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