ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdisp2.c
(Generate patch)

Comparing ray/src/hd/rhdisp2.c (file contents):
Revision 3.30 by gwlarson, Tue Dec 22 15:57:20 1998 UTC vs.
Revision 3.31 by gwlarson, Wed Mar 3 10:25:27 1999 UTC

# Line 244 | Line 244 | int    hres, vres;
244                                  /* intersect sample rays with section */
245          for (v = svr; v--; )
246                  for (h = shr; h--; ) {
247 <                        if (viewray(rorg, rdir, vw, (v+frandom())/svr,
248 <                                                (h+frandom())/shr) < -FTINY)
247 >                        if (viewray(rorg, rdir, vw, (h+frandom())/shr,
248 >                                                (v+frandom())/svr) < -FTINY)
249                                  continue;
250                          if (rad > FTINY) {
251                                  rorg[0] += (1.-2.*frandom())*rad;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines