| # | Line 178 | Line 178 | ray_trace( /* trace a primary ray */ | |
|---|---|---|
| 178 | RAY *r | |
| 179 | ) | |
| 180 | { | |
| 181 | < | rayorigin(r, NULL, PRIMARY, 1.0); |
| 182 | < | samplendx++; |
| 181 | > | rayorigin(r, PRIMARY, NULL, NULL); |
| 182 | > | samplendx = rand_samp ? random() : samplendx+1; |
| 183 | rayvalue(r); /* assumes origin and direction are set */ | |
| 184 | } | |
| 185 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |