| # | Line 112 | Line 112 | ambsample( /* initial ambient division sample */ | |
|---|---|---|
| 112 | if (rayorigin(&ar, hp->atyp, hp->rp, ar.rcoef) < 0) | |
| 113 | return(0); | |
| 114 | if (ambacc > FTINY) { | |
| 115 | – | #ifdef SSKIPOPT |
| 116 | – | ar.rsrc = -1; /* protect cache from source opt. */ |
| 117 | – | ar.scorr = 1.f; |
| 118 | – | #endif |
| 115 | smultscolor(ar.rcoef, hp->acoef); | |
| 116 | scalescolor(ar.rcoef, 1./AVGREFL); | |
| 117 | } | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |