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 2.2 by greg, Sat May 23 08:03:19 1992 UTC vs.
Revision 2.3 by greg, Tue Dec 20 20:18:43 1994 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
1 > /* Copyright (c) 1994 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 351 | Line 351 | register int  sn;      /* target source number */
351                          for (i = 0; i < 3; i++)
352                                  sr.rorg[i] = oc[i] + offsdir[i];
353                          d = DOT(offsdir,onorm);
354 +                        sr.rmax = 0.0;
355                          if (infront)
356                                  for (i = 0; i < 3; i++) {
357                                          sr.rorg[i] -= (d-.0001)*onorm[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines