ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/bsdf.h
(Generate patch)

Comparing ray/src/common/bsdf.h (file contents):
Revision 2.9 by greg, Wed Feb 23 21:58:31 2011 UTC vs.
Revision 2.10 by greg, Mon Apr 11 03:47:46 2011 UTC

# Line 154 | Line 154 | extern SDSpectralDF    *SDnewSpectralDF(int nc);
154   /* Free a spectral distribution function */
155   extern void             SDfreeSpectralDF(SDSpectralDF *df);
156  
157 < /* Initialize an unused BSDF struct (clears to zeroes) */
158 < extern void             SDclearBSDF(SDData *sd);
157 > /* Initialize an unused BSDF struct and assign name (calls SDclipName) */
158 > extern void             SDclearBSDF(SDData *sd, const char *fname);
159  
160   /* Load a BSDF struct from the given file (keeps name unchanged) */
161   extern SDError          SDloadFile(SDData *sd, const char *fname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines