[−][src]Function pbrt::integrators::bdpt::connect_bdpt
pub fn connect_bdpt<'a>(
scene: &'a Scene,
light_vertices: &'a Vec<Vertex<'a, 'a, 'a>>,
camera_vertices: &'a Vec<Vertex<'a, 'a, 'a>>,
s: usize,
t: usize,
light_distr: &Arc<Distribution1D>,
camera: &'a Arc<dyn Camera + Send + Sync>,
sampler: &mut dyn Sampler,
p_raster: &mut Point2f,
mis_weight_opt: Option<&mut Float>
) -> Spectrum