ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/gen/mkillum4.c
(Generate patch)

Comparing ray/src/gen/mkillum4.c (file contents):
Revision 2.7 by greg, Wed Dec 12 05:09:58 2007 UTC vs.
Revision 2.8 by greg, Thu Dec 13 07:03:37 2007 UTC

# Line 277 | Line 277 | load_BSDF(             /* load BSDF data from file */
277          }
278          dp = (struct BSDF_data *)calloc(1, sizeof(struct BSDF_data));
279          for (wld = ezxml_child(fl, "WavelengthData");
280 <                                fl != NULL; fl = fl->next) {
280 >                                wld != NULL; wld = wld->next) {
281                  if (strcmp(ezxml_txt(ezxml_child(wld,"Wavelength")), "Visible"))
282                          continue;
283                  wdb = ezxml_child(wld, "WavelengthDataBlock");
# Line 432 | Line 432 | getBSDF_xfm(           /* compute BSDF orient. -> world orient.
432                  updir[2] = 1.;
433                  break;
434          case UDunknown:
435                error(WARNING, "unspecified up direction");
435                  return(0);
436          }
437          fcross(xdest, updir, nrm);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)