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.25 by greg, Fri Apr 4 01:48:25 2025 UTC vs.
Revision 2.26 by greg, Fri Apr 4 18:06:48 2025 UTC

# Line 21 | Line 21 | typedef enum {RMPnone=-1, RMPtrans=0, RMPreflF, RMPref
21   #define RMF_SWAPIN      1
22   #define RMF_FREEMEM     2
23  
24 < #define DTrmx_native    DTdouble        /* in-core data type */
24 > #ifndef MAXCOMP
25 > #define MAXCOMP         MAXCSAMP        /* #components we support */
26 > #endif
27 >                                        /* Set in-core data type */
28 > #if !defined(DTrmx_native) || DTrmx_native==DTfloat
29 > #define DTrmx_native    DTfloat
30 > #define rmx_dtype       float
31 > #define rmx_scanfmt     "%f"
32 > #elif DTrmx_native==DTdouble
33   #define rmx_dtype       double
34 + #define rmx_scanfmt     "%lf"
35 + #endif
36  
37   /* General [row][col][cmp] component matrix */
38   typedef struct {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines