| 34 |
|
{ |
| 35 |
|
register int c; |
| 36 |
|
|
| 37 |
< |
if (c = d1->t - d2->t) |
| 37 |
> |
if ( (c = d1->t - d2->t) ) |
| 38 |
|
return(c); |
| 39 |
|
return(d1->p - d2->p); |
| 40 |
|
} |
| 230 |
|
{ |
| 231 |
|
register int i; |
| 232 |
|
/* set number of divisions */ |
| 233 |
– |
if (wt < (.25*PI)/ambdiv+FTINY) { |
| 234 |
– |
hp->nt = hp->np = 0; |
| 235 |
– |
return; /* zero samples */ |
| 236 |
– |
} |
| 233 |
|
hp->nt = sqrt(ambdiv * wt / PI) + 0.5; |
| 234 |
+ |
i = ambacc > FTINY ? 3 : 1; /* minimum number of samples */ |
| 235 |
+ |
if (hp->nt < i) |
| 236 |
+ |
hp->nt = i; |
| 237 |
|
hp->np = PI * hp->nt + 0.5; |
| 238 |
|
/* make axes */ |
| 239 |
|
VCOPY(hp->uz, r->ron); |