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.14 by greg, Fri Mar 4 01:27:12 2022 UTC vs.
Revision 2.16 by greg, Tue Nov 21 01:30:20 2023 UTC

# Line 22 | Line 22 | typedef struct {
22          void    *mapped;
23          double  *mtx;
24          COLOR   cexp;
25 +        float   wlpart[4];
26          int     nrows, ncols;
27          short   ncomp;
28          uby8    dtype;
29          uby8    swapin;
30   } RMATRIX;
31  
32 < #define rmx_lval(rm,r,c,i)      (rm)->mtx[(i)+(rm)->ncomp*((c)+(size_t)(rm)->ncols*(r))]
32 > #define rmx_lval(rm,r,c)        ((rm)->mtx + (rm)->ncomp*((c)+(size_t)(rm)->ncols*(r)))
33  
34   /* Initialize a RMATRIX struct but don't allocate array space */
35   extern RMATRIX  *rmx_new(int nr, int nc, int n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines