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

Comparing ray/src/rt/x10.c (file contents):
Revision 1.8 by greg, Tue May 30 09:53:10 1989 UTC vs.
Revision 1.9 by greg, Fri Jun 2 17:21:26 1989 UTC

# Line 36 | Line 36 | static char SCCSid[] = "$SunId$ LBL";
36   #define COMCH           13              /* approx. character height (pixels) */
37  
38   #ifndef WFLUSH
39 < #define WFLUSH          30              /* flush after this many rays */
39 > #define WFLUSH          50              /* flush after this many rays */
40   #endif
41  
42   #define  hashcolr(c)    ((67*(c)[RED]+59*(c)[GRN]+71*(c)[BLU])%ncolors)
# Line 201 | Line 201 | int  xmin, ymin, xmax, ymax;
201                                  pixval[ndx]);
202          }
203          if (nrays - lastflush >= WFLUSH) {
204 +                if (ncolors <= 0)       /* output necessary for death */
205 +                        XPixSet(gwind,0,0,1,1,BlackPixel);
206                  checkinp();
207                  lastflush = nrays;
208          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines