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

Comparing ray/src/util/cmatrix.h (file contents):
Revision 2.12 by greg, Wed Mar 25 01:51:09 2020 UTC vs.
Revision 2.16 by greg, Sat Apr 19 17:12:59 2025 UTC

# Line 15 | Line 15
15   extern "C" {
16   #endif
17  
18 < /* Data types for file loading */
19 < enum {DTfromHeader=0, DTrgbe, DTxyze, DTfloat, DTascii, DTdouble, DTend};
18 > /* Data types for file loading (used to be an enum) */
19 > #define DTfromHeader    0
20 > #define DTrgbe          1
21 > #define DTxyze          2
22 > #define DTspec          3
23 > #define DTfloat         4
24 > #define DTascii         5
25 > #define DTdouble        6
26 > #define DTend           7
27  
28 + /* Defined in cmconst.c */
29 + extern const char       stdin_name[];
30   extern const char       *cm_fmt_id[];
31   extern const int        cm_elem_size[];
32  
# Line 58 | Line 67 | extern CMATRIX *cm_multiply(const CMATRIX *cm1, const
67   extern int      cm_write(const CMATRIX *cm, int dtype, FILE *fp);
68  
69   /* Load and convert a matrix BTDF from the given XML file */
70 < extern CMATRIX  *cm_loadBTDF(char *fname);
70 > extern CMATRIX  *cm_loadBTDF(const char *fname);
71 >
72 > /* Load and convert a matrix BRDF from the given XML file */
73 > extern CMATRIX  *cm_loadBRDF(const char *fname, int backside);
74  
75   #ifdef __cplusplus
76   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines