--- ray/src/common/bsdf_t.h 2011/02/19 01:48:59 3.3 +++ ray/src/common/bsdf_t.h 2011/04/08 18:13:48 3.4 @@ -1,8 +1,10 @@ -/* RCSid $Id: bsdf_t.h,v 3.3 2011/02/19 01:48:59 greg Exp $ */ +/* RCSid $Id: bsdf_t.h,v 3.4 2011/04/08 18:13:48 greg Exp $ */ /* * bsdf_t.h * - * Support for variable-resolution BSDF trees + * Support for variable-resolution BSDF trees. + * Assumes "bsdf.h" already included. + * Include after "ezxml.h" for SDloadTre() declaration. * * Created by Greg Ward on 2/2/11. * @@ -27,8 +29,10 @@ typedef struct SDNode_s { } u; /* subtrees or values (extends struct) */ } SDNode; +#ifdef _EZXML_H /* Load a variable-resolution BSDF tree from an open XML file */ extern SDError SDloadTre(SDData *sd, ezxml_t wtl); +#endif /* Our matrix handling routines */ extern const SDFunc SDhandleTre;