# | Line 192 | Line 192 | compute_through(BSDFDAT *ndp) | |
---|---|---|
192 | vypeak += psamp[i].vy; | |
193 | ++ns; | |
194 | } | |
195 | < | if (tomsurr <= FTINY) /* no surround implies no peak */ |
195 | > | if (tomsurr < 0.2*tomsum) /* insufficient surround? */ |
196 | return; | |
197 | if ((vypeak/ns - (ndp->vray[2] > 0 ? ndp->sd->tLambFront.cieY | |
198 | : ndp->sd->tLambBack.cieY)*(1./PI))*tomsum < .0005) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |