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.4 by greg, Fri Feb 18 00:40:25 2011 UTC vs.
Revision 2.6 by greg, Sat Feb 19 01:48:59 2011 UTC

# Line 136 | Line 136 | extern int             SDretainSet;    /* set to SDretainNone by def
136   * The following routines are less commonly used by applications.
137   */
138  
139 < #define SDisLoaded(sd)  ((sd)->rLambFront.spec.clock != 0)
139 > #define SDisLoaded(sd)  ((sd)->rLambFront.spec.flags != 0)
140  
141   /* Report an error to the indicated stream (in English) */
142   extern SDError          SDreportEnglish(SDError ec, FILE *fp);
# Line 223 | Line 223 | extern SDError         SDinvXform(RREAL iMtx[3][3], RREAL vMt
223   /* Transform and normalize direction (column) vector */
224   extern SDError          SDmapDir(FVECT resVec, RREAL vMtx[3][3],
225                                          const FVECT inpVec);
226 +
227 + /* System-specific BSDF loading routine (not part of our library) */
228 + extern SDData           *loadBSDF(char *name);
229 +
230 + /* System-specific BSDF error translator (not part of our library) */
231 + extern char             *transSDError(SDError ec);
232  
233   /*################################################################*/
234   /*######### DEPRECATED DEFINITIONS AWAITING PERMANENT REMOVAL #######*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines