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

Comparing ray/src/util/rmatrix.h (file contents):
Revision 2.9 by greg, Wed Oct 31 22:19:57 2018 UTC vs.
Revision 2.12 by greg, Wed Mar 25 01:51:09 2020 UTC

# Line 14 | Line 14 | extern "C" {
14  
15   /* General plane-ordered component matrix */
16   typedef struct {
17 <        int     nrows, ncols, ncomp;
18 <        int     dtype;
17 >        int     nrows, ncols;
18 >        short   ncomp;
19 >        uby8    dtype;
20 >        uby8    swapin;
21          char    *info;
22 <        double  mtx[1];                 /* extends struct */
22 >        double  mtx[3];                 /* extends struct */
23   } RMATRIX;
24  
25   #define rmx_lval(rm,r,c,i)      (rm)->mtx[(i)+(rm)->ncomp*((c)+(size_t)(rm)->ncols*(r))]

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines