delete unused variable

This commit is contained in:
Wentao Liu 2023-08-29 20:30:04 +08:00
parent ce95acb9b9
commit 2583512f09

View file

@ -1418,8 +1418,6 @@ AOIntegrator::AOIntegrator(bool cosSample, Float maxDist, Camera camera, Sampler
SampledSpectrum AOIntegrator::Li(RayDifferential ray, SampledWavelengths &lambda,
Sampler sampler, ScratchBuffer &scratchBuffer,
VisibleSurface *visibleSurface) const {
SampledSpectrum L(0.f);
// Intersect _ray_ with scene and store intersection in _isect_
pstd::optional<ShapeIntersection> si;
retry: