mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
Merge pull request #380 from w3ntao/fix-2023-08-29
delete unused variable
This commit is contained in:
commit
07ae910e16
1 changed files with 0 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue