| 106 |
|
} |
| 107 |
|
break; |
| 108 |
|
} |
| 109 |
+ |
newheader("RADIANCE", stdout); /* start header */ |
| 110 |
|
/* process files */ |
| 111 |
|
for (nfiles = 0; nfiles < MAXINP; nfiles++) { |
| 112 |
|
setcolor(input[nfiles].coef, 1.0, 1.0, 1.0); |
| 225 |
|
double d; |
| 226 |
|
COLOR ctmp; |
| 227 |
|
|
| 228 |
< |
if (isformat(s)) { /* check format */ |
| 229 |
< |
formatval(fmt, s); |
| 228 |
> |
if (isheadid(s)) /* header id */ |
| 229 |
> |
return; /* don't echo */ |
| 230 |
> |
if (formatval(fmt, s)) { /* check format */ |
| 231 |
|
wrongformat = strcmp(fmt, COLRFMT); |
| 232 |
|
return; /* don't echo */ |
| 233 |
|
} |
| 467 |
|
l_ray(nam) /* return ray origin or direction */ |
| 468 |
|
register char *nam; |
| 469 |
|
{ |
| 470 |
< |
static long ltick[MAXINP]; |
| 470 |
> |
static unsigned long ltick[MAXINP]; |
| 471 |
|
static FVECT lorg[MAXINP], ldir[MAXINP]; |
| 472 |
|
FLOAT loc[2]; |
| 473 |
|
double d; |