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

Comparing ray/src/rt/rv3.c (file contents):
Revision 2.31 by greg, Wed Dec 3 06:57:48 2008 UTC vs.
Revision 2.32 by greg, Sat Dec 12 00:03:42 2009 UTC

# Line 29 | Line 29 | static const char      RCSid[] = "$Id$";
29   #define  sscanvec(s,v)  (sscanf(s,"%lf %lf %lf",v,v+1,v+2)==3)
30   #endif
31  
32 < static unsigned long  niflush;          /* flushes since newimage() */
32 > static RNUMBER  niflush;                /* flushes since newimage() */
33  
34   int
35   getrect(                                /* get a box */
# Line 197 | Line 197 | paint(                 /* compute and paint a rectangle */
197          } else {                                /* queuing mode */
198                  int     rval;
199                  rayorigin(&thisray, PRIMARY, NULL, NULL);
200 <                thisray.rno = (unsigned long)p;
200 >                thisray.rno = (RNUMBER)p;
201                  rval = ray_pqueue(&thisray);
202                  if (!rval)
203                          return(0);
# Line 212 | Line 212 | paint(                 /* compute and paint a rectangle */
212          recolor(p);                             /* paint it */
213  
214          if (dev->flush != NULL) {               /* shall we check for input? */
215 <                static unsigned long    lastflush = 0;
216 <                unsigned long           counter = raynum;
217 <                int                     flushintvl;
215 >                static RNUMBER  lastflush = 0;
216 >                RNUMBER         counter = raynum;
217 >                int             flushintvl;
218                  if (nproc == 1) {
219                          counter = nrays;
220                          flushintvl = WFLUSH1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines