| 77 |
|
inpfile[i].isDSF = 1; |
| 78 |
|
continue; |
| 79 |
|
} |
| 80 |
< |
if (!strcasecmp(typ, "BSDF")) { |
| 80 |
> |
if (!strcasecmp(typ, "BSDF") || |
| 81 |
> |
!strcasecmp(typ, "BRDF") || |
| 82 |
> |
!strcasecmp(typ, "BTDF")) { |
| 83 |
|
inpfile[i].isDSF = 0; |
| 84 |
|
continue; |
| 85 |
|
} |
| 131 |
|
if (i) /* process previous incidence */ |
| 132 |
|
make_rbfrep(); |
| 133 |
|
#ifdef DEBUG |
| 134 |
< |
fprintf(stderr, "New incident (theta,phi)=(%f,%f)\n", |
| 134 |
> |
fprintf(stderr, "New incident (theta,phi)=(%.1f,%.1f)\n", |
| 135 |
|
inpfile[i].theta, inpfile[i].phi); |
| 136 |
|
#endif |
| 137 |
|
new_bsdf_data(inpfile[i].theta, inpfile[i].phi); |