| 36 |
|
extern RNUMBER raysleft; /* number of rays left to trace */ |
| 37 |
|
extern long waitflush; /* how long until next flush */ |
| 38 |
|
|
| 39 |
< |
extern int lastray; /* last ray number sent */ |
| 40 |
< |
extern int lastdone; /* last ray processed */ |
| 39 |
> |
extern RNUMBER lastray; /* last ray number sent */ |
| 40 |
> |
extern RNUMBER lastdone; /* last ray processed */ |
| 41 |
|
|
| 42 |
< |
typedef double DCOLOR[3]; /* double-precision color */ |
| 42 |
> |
typedef double DCOLOR[3]; /* double-precision color */ |
| 43 |
|
|
| 44 |
|
/* |
| 45 |
|
* The MODCONT structure is used to accumulate ray contributions |
| 85 |
|
#ifndef MAXMODLIST |
| 86 |
|
#define MAXMODLIST 2048 /* maximum modifiers we'll track */ |
| 87 |
|
#endif |
| 88 |
– |
#ifndef MAXTSET |
| 89 |
– |
#define MAXTSET 16383 /* maximum number in trace set */ |
| 90 |
– |
#endif |
| 88 |
|
|
| 89 |
|
extern const char *modname[MAXMODLIST]; /* ordered modifier name list */ |
| 90 |
|
extern int nmods; /* number of modifiers */ |
| 91 |
|
|
| 92 |
|
extern char RCCONTEXT[]; /* special evaluation context */ |
| 93 |
|
|
| 97 |
– |
extern void tranotify(OBJECT obj); /* new trace modifier */ |
| 98 |
– |
|
| 94 |
|
extern char *formstr(int f); /* return format identifier */ |
| 95 |
|
|
| 96 |
|
extern void process_rcontrib(void); /* trace ray contributions */ |
| 114 |
|
extern int in_rchild(void); |
| 115 |
|
extern void end_children(void); |
| 116 |
|
|
| 117 |
< |
extern void zero_record(int ndx); |
| 123 |
< |
extern void queue_modifiers(void); |
| 117 |
> |
extern void put_zero_record(int ndx); |
| 118 |
|
|
| 119 |
|
extern void parental_loop(void); /* controlling process */ |
| 120 |
|
|