# | Line 398 | Line 398 | sumambient( /* get interpolated ambient value */ | |
---|---|---|
398 | delta_t2 = d*d; | |
399 | d = DOT(ck0, uvw[1]) / av->rad[1]; | |
400 | delta_t2 += d*d; | |
401 | < | if (delta_t2 >= ambacc*ambacc) |
401 | > | if (delta_t2 >= qambacc*qambacc) |
402 | continue; | |
403 | /* | |
404 | * Intersection behind test | |
# | Line 413 | Line 413 | sumambient( /* get interpolated ambient value */ | |
413 | */ | |
414 | extambient(ct, av, r->rop, rn, uvw); | |
415 | d = tfunc(maxangle, sqrt(delta_r2), 0.0) * | |
416 | < | tfunc(ambacc, sqrt(delta_t2), 0.0); |
416 | > | tfunc(qambacc, sqrt(delta_t2), 0.0); |
417 | scalecolor(ct, d); | |
418 | addcolor(acol, ct); | |
419 | wsum += d; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |