# | Line 406 | Line 406 | sumambient( /* get interpolated ambient value */ | |
---|---|---|
406 | d = 0.0; | |
407 | for (j = 0; j < 3; j++) | |
408 | d += (r->rop[j] - av->pos[j])*(uvw[2][j] + r->ron[j]); | |
409 | < | if (d*0.5 < -minarad*ambacc-.001) |
409 | > | if (d*0.5 < -minarad*qambacc-.001) |
410 | continue; | |
411 | /* | |
412 | * Extrapolate value and compute final weight (hat function) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |