public Sample(Sampler sampler, SurfaceIntegrator surfaceIntegrator, VolumeIntegrator volumeIntegrator, Scene scene) { int nPtrs = n1D.Count + n2D.Count; if (nPtrs == 0) { oneD = twoD = null; } }
//Scene public SampleRenderer(Sampler s, Camera c, SurfaceIntegrator f) { sampler = s; camera = c; surfaceIntegrator = f; }