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

Comparing ray/src/rt/rpict.c (file contents):
Revision 2.38 by greg, Mon Aug 29 15:42:34 1994 UTC vs.
Revision 2.39 by greg, Tue Dec 20 20:18:30 1994 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1993 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 602 | Line 602 | int  x, y;                     /* pixel position */
602   {
603          static RAY  thisray;
604  
605 <        if (viewray(thisray.rorg, thisray.rdir, &ourview,
606 <                        (x+pixjitter())/hres, (y+pixjitter())/vres) < 0) {
605 >        if ((thisray.rmax = viewray(thisray.rorg, thisray.rdir, &ourview,
606 >                        (x+pixjitter())/hres, (y+pixjitter())/vres)) < -FTINY) {
607                  setcolor(col, 0.0, 0.0, 0.0);
608                  return(0.0);
609          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines