233 |
|
/* worth the bother? */ |
234 |
|
if (eest <= .01) |
235 |
|
return; |
236 |
< |
/* sum into map */ |
236 |
> |
/* put into map */ |
237 |
|
for ( ; y0 < y1; y0++) { |
238 |
|
float *em0 = cerrmap + fndx(x0, y0); |
239 |
|
register float *emp = em0 + (x1-x0); |
240 |
|
while (emp-- > em0) |
241 |
< |
*emp += eest; |
241 |
> |
if (eest > *emp) |
242 |
> |
*emp = eest; |
243 |
|
} |
244 |
|
cerrzero = 0; |
245 |
|
} |
396 |
|
return(-1); |
397 |
|
if (nprocs > 1) { |
398 |
|
int rval; |
399 |
< |
rayorigin(&ir, NULL, PRIMARY, 1.0); |
399 |
> |
rayorigin(&ir, PRIMARY, NULL, NULL); |
400 |
|
ir.rno = n; |
401 |
|
rval = ray_pqueue(&ir); |
402 |
|
if (!rval) |