# | Line 249 | Line 249 | getviewspan( /* compute a span of view pixels */ | |
---|---|---|
249 | /* send to rtrace */ | |
250 | if (n >= maxpix) { /* flush */ | |
251 | rt_compute(rt_buf, n); | |
252 | < | while (n-- > 0) |
252 | > | while (n > 0) { |
253 | > | --n; |
254 | vb[buf_vh[n]+hsize] = luminance(rt_buf+3*n); | |
255 | + | } |
256 | } | |
257 | rt_buf[6*n] = ourview.vp[0]; | |
258 | rt_buf[6*n+1] = ourview.vp[1]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |