20 |
|
#define SHADCACHE 20 /* shadow cache resolution */ |
21 |
|
#endif |
22 |
|
#ifndef MINSHADCNT |
23 |
< |
#define MINSHADCNT 4 /* test all sources if this few */ |
23 |
> |
#define MINSHADCNT 2 /* test at least this many shadows */ |
24 |
|
#endif |
25 |
|
|
26 |
|
#define SDISTANT 01 /* source distant flag */ |
72 |
|
} sa; /* source aiming information */ |
73 |
|
unsigned long |
74 |
|
ntests, nhits; /* shadow tests and hits */ |
75 |
< |
#ifdef SHADCACHE |
75 |
> |
#if SHADCACHE |
76 |
|
OBSCACHE *obscache; /* obstructor cache */ |
77 |
|
#endif |
78 |
|
int sflags; /* source flags */ |
147 |
|
|
148 |
|
/* defined in source.c */ |
149 |
|
extern void marksources(void); |
150 |
+ |
extern void distantsources(void); |
151 |
|
extern void freesources(void); |
152 |
|
extern int srcray(RAY *sr, RAY *r, SRCINDEX *si); |
153 |
|
extern void srcvalue(RAY *r); |