| 58 |
|
void /* initialize occlusion cache */ |
| 59 |
|
initobscache(int sn) |
| 60 |
|
{ |
| 61 |
< |
register SRCREC *srcp = &source[sn]; |
| 62 |
< |
int cachelen; |
| 63 |
< |
FVECT rorg, rdir; |
| 64 |
< |
RREAL d; |
| 65 |
< |
int i, j, k; |
| 66 |
< |
int ax=0, ax1=1, ax2=2; |
| 61 |
> |
SRCREC *srcp = &source[sn]; |
| 62 |
> |
int cachelen; |
| 63 |
> |
FVECT rorg, rdir; |
| 64 |
> |
RREAL d; |
| 65 |
> |
int i, j, k; |
| 66 |
> |
int ax=0, ax1=1, ax2=2; |
| 67 |
|
|
| 68 |
|
if (srcp->sflags & (SSKIP|SPROX|SSPOT|SVIRTUAL)) |
| 69 |
|
return; /* don't cache these */ |
| 178 |
|
|
| 179 |
|
|
| 180 |
|
static OBJECT * /* return occluder cache entry */ |
| 181 |
< |
srcobstructp(register RAY *r) |
| 181 |
> |
srcobstructp(RAY *r) |
| 182 |
|
{ |
| 183 |
|
static RNUMBER lastrno = ~0; |
| 184 |
|
static OBJECT noobs; |
| 288 |
|
|
| 289 |
|
|
| 290 |
|
int /* record a source blocker */ |
| 291 |
< |
srcblocker(register RAY *r) |
| 291 |
> |
srcblocker(RAY *r) |
| 292 |
|
{ |
| 293 |
|
OBJREC *m; |
| 294 |
|
|