40 |
|
#define SDsampAll 0xF /* include everything */ |
41 |
|
|
42 |
|
/* Projected solid angle query flags fos SDsizeBSDF() */ |
43 |
< |
#define SDqueryInc 0x1 /* query incoming vector */ |
44 |
< |
#define SDqueryOut 0x2 /* query outgoing vector */ |
45 |
< |
#define SDqueryMin 0x4 /* query minimum proj. solid angle */ |
46 |
< |
#define SDqueryMax 0x8 /* query maximum proj. solid angle */ |
43 |
> |
#define SDqueryVal 0x0 /* query single value */ |
44 |
> |
#define SDqueryMin 0x1 /* query minimum proj. solid angle */ |
45 |
> |
#define SDqueryMax 0x2 /* query maximum proj. solid angle */ |
46 |
|
|
47 |
|
/* Error codes: normal return, out of memory, file i/o, file format, bad argument, |
48 |
|
bad data, unsupported feature, internal error, unknown error */ |
135 |
|
* The following routines are less commonly used by applications. |
136 |
|
*/ |
137 |
|
|
138 |
< |
#define SDisLoaded(sd) ((sd)->rLambFront.spec.clock != 0) |
138 |
> |
#define SDisLoaded(sd) ((sd)->rLambFront.spec.flags != 0) |
139 |
|
|
140 |
|
/* Report an error to the indicated stream (in English) */ |
141 |
|
extern SDError SDreportEnglish(SDError ec, FILE *fp); |