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

Comparing ray/src/rt/virtuals.c (file contents):
Revision 1.22 by greg, Tue Aug 6 15:02:36 1991 UTC vs.
Revision 1.23 by greg, Tue Aug 13 12:16:43 1991 UTC

# Line 318 | Line 318 | register int  sn;      /* target source number */
318   #endif
319                                  return(f);      /* too small a target! */
320                          }
321 +                        peano(offsdir, 3, urand(931*i+5827+ssn), .005);
322                          for (i = 0; i < 3; i++)
323 <                                offsdir[i] = or*(1. -
323 <                                        2.*urand(urind(931*i+5827,ssn)));
323 >                                offsdir[i] = or*(1. - 2.*offsdir[i]);
324                          ssn++;
325                          for (i = 0; i < 3; i++)
326                                  sr.rorg[i] = oc[i] + offsdir[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines