# | Line 357 | Line 357 | sumambient( /* get interpolated ambient value */ | |
---|---|---|
357 | FVECT c0, | |
358 | double s | |
359 | ) | |
360 | < | { /* initial limit is ambacc radians */ |
361 | < | const double maxangle = (ambacc-PI/2.)*pow(r->rweight,0.13) + PI/2.; |
360 | > | { /* initial limit is 5 degrees plus ambacc radians */ |
361 | > | const double minangle = 5.0 * PI/180.; |
362 | > | const double maxangle = (minangle+ambacc-PI/2.)*pow(r->rweight,0.13) |
363 | > | + PI/2.; |
364 | double wsum = 0.0; | |
365 | FVECT ck0; | |
366 | int i, j; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |