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); |
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 #######*/ |