ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/pabopto2bsdf.c
(Generate patch)

Comparing ray/src/cv/pabopto2bsdf.c (file contents):
Revision 2.21 by greg, Fri Mar 21 01:04:42 2014 UTC vs.
Revision 2.23 by greg, Sun Mar 23 17:46:25 2014 UTC

# Line 77 | Line 77 | init_pabopto_inp(const int i, const char *fname)
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                          }
# Line 129 | Line 131 | add_pabopto_inp(const int i)
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);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines