| 491 |
|
} |
| 492 |
|
|
| 493 |
|
|
| 494 |
< |
extern int |
| 494 |
> |
extern void |
| 495 |
|
initacuity(void) /* initialize variable acuity sampling */ |
| 496 |
|
{ |
| 497 |
|
FVECT diffx, diffy, cp; |
| 498 |
|
double omega, maxsr; |
| 499 |
|
register int x, y, i; |
| 500 |
|
|
| 501 |
– |
if (fvxr < 3 || fvyr < 3) |
| 502 |
– |
return(0); /* too small to work with */ |
| 503 |
– |
|
| 501 |
|
compraydir(); /* compute ray directions */ |
| 502 |
|
|
| 503 |
|
inpacuD = (float *)malloc(fvxr*fvyr*sizeof(float)); |
| 533 |
|
} |
| 534 |
|
/* initialize with next power of two */ |
| 535 |
|
rootbar = sballoc((int)(log(maxsr)/log(2.))+1, 2, scanlen(&inpres)); |
| 539 |
– |
return(1); |
| 536 |
|
} |