| 65 |
|
RNUMBER rno; /* unique ray number */ |
| 66 |
|
OBJECT robj; /* intersected object number */ |
| 67 |
|
int rsrc; /* source we're aiming for (or ones to skip) */ |
| 68 |
– |
#ifdef SSKIPOPT |
| 69 |
– |
float scorr; /* correction factor for included sources */ |
| 70 |
– |
#endif |
| 68 |
|
float rweight; /* cumulative weight (for termination) */ |
| 69 |
|
float gecc; /* scattering eccentricity coefficient */ |
| 70 |
|
SCOLOR rcoef; /* contribution coefficient w.r.t. parent */ |
| 104 |
|
|
| 105 |
|
extern int dimlist[]; /* dimension list for distribution */ |
| 106 |
|
extern int ndims; /* number of dimensions so far */ |
| 107 |
< |
extern int samplendx; /* index for this sample */ |
| 107 |
> |
extern unsigned long |
| 108 |
> |
samplendx; /* index for this sample */ |
| 109 |
|
|
| 110 |
|
extern int do_irrad; /* compute irradiance? */ |
| 111 |
|
|
| 216 |
|
extern void ray_save(RAYPARAMS *rp); |
| 217 |
|
extern void ray_restore(RAYPARAMS *rp); |
| 218 |
|
extern void ray_defaults(RAYPARAMS *rp); |
| 219 |
+ |
extern void reset_random(void); |
| 220 |
|
/* defined in raypcalls.c */ |
| 221 |
|
extern void ray_pinit(char *otnm, int nproc); |
| 222 |
|
extern int ray_psend(RAY *r); |