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

Comparing ray/src/common/interp2d.h (file contents):
Revision 2.8 by greg, Fri Feb 15 01:26:47 2013 UTC vs.
Revision 2.10 by greg, Sat Feb 13 16:49:18 2021 UTC

# Line 15 | Line 15 | extern "C" {
15   #define NI2DSMF 0.42f                   /* minimal smoothing factor */
16  
17   #define NI2DIR  (2*4)                   /* # interpolation directions */
18 < #define NI2DIM  16                      /* size of black flag array */
18 > #define NI2DIM  16                      /* size of influence map */
19  
20   /* Data structure for interpolant */
21   typedef struct {
# Line 25 | Line 25 | typedef struct {
25          float           smin[2];        /* sample minima */
26          float           smax[2];        /* sample maxima */
27          float           grid2;          /* grid diameter squared */
28 +        void            *c_data;        /* client data pointer */
29          struct interp2_samp {
30                  unsigned short  dia[NI2DIR];
31 <                unsigned short  blkflg[NI2DIM];
31 >                unsigned short  infl[NI2DIM];
32          }               *da;            /* direction array (private) */
33          float           spt[1][2];      /* sample positions (extends struct) */
34   } INTERP2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines