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

Comparing ray/src/rt/rcontrib.h (file contents):
Revision 2.2 by greg, Sun Jun 10 05:25:42 2012 UTC vs.
Revision 2.7 by greg, Thu Jun 21 17:14:32 2012 UTC

# Line 4 | Line 4
4   * Header file for rcontrib modules
5   */
6  
7 + #include "platform.h"
8 + #include "paths.h"
9   #include "ray.h"
10   #include "func.h"
11   #include "lookup.h"
# Line 36 | Line 38 | extern int             account;        /* current accumulation count */
38   extern RNUMBER          raysleft;       /* number of rays left to trace */
39   extern long             waitflush;      /* how long until next flush */
40  
41 < extern int              lastray;        /* last ray number sent */
42 < extern int              lastdone;       /* last ray processed */
41 > extern RNUMBER          lastray;        /* last ray number sent */
42 > extern RNUMBER          lastdone;       /* last ray processed */
43  
44   typedef double          DCOLOR[3];      /* double-precision color */
45  
# Line 85 | Line 87 | extern LUTAB           ofiletab;       /* output stream table */
87   #ifndef MAXMODLIST
88   #define MAXMODLIST      2048            /* maximum modifiers we'll track */
89   #endif
88 #ifndef  MAXTSET
89 #define  MAXTSET        16383           /* maximum number in trace set */
90 #endif
90  
91   extern const char       *modname[MAXMODLIST];   /* ordered modifier name list */
92   extern int              nmods;                  /* number of modifiers */
93  
94   extern char             RCCONTEXT[];            /* special evaluation context */
95  
97 extern void             tranotify(OBJECT obj);  /* new trace modifier */
98
96   extern char             *formstr(int f);        /* return format identifier */
97  
98   extern void             process_rcontrib(void); /* trace ray contributions */
# Line 117 | Line 114 | extern void            recover_output(void);
114   extern int              getvec(FVECT vec);
115  
116   extern int              in_rchild(void);
117 < extern void             end_children(void);
117 > extern void             end_children(int immed);
118  
119   extern void             put_zero_record(int ndx);
123 extern void             queue_modifiers(void);
120  
121   extern void             parental_loop(void);    /* controlling process */
122  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines