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

Comparing ray/src/rt/data.h (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:13 1989 UTC vs.
Revision 2.2 by greg, Fri Jun 30 16:07:42 1995 UTC

# Line 8 | Line 8
8   *     6/4/86
9   */
10  
11 < #define  MAXDIM         8               /* maximum dimensions for data array */
11 > #define  MAXDDIM        8               /* maximum dimensions for data array */
12  
13   #define  DATATYPE       float           /* single precision to save space */
14 + #define  DATATY         'f'             /* format for DATATYPE */
15  
15 #define  DSCANF         "%f"            /* scan format for DATATYPE */
16
16   typedef struct datarray {
17          char  *name;                    /* name of our data */
18          int  nd;                        /* number of dimensions */
19          struct {
20                  double  org, siz;               /* coordinate domain */
21                  int  ne;                        /* number of elements */
22 <        } dim[MAXDIM];                  /* dimension specifications */
22 >                double  *p;                     /* point locations */
23 >        } dim[MAXDDIM];                 /* dimension specifications */
24          DATATYPE  *arr;                 /* the data */
25          struct datarray  *next;         /* next array in list */
26   } DATARRAY;                     /* a data array */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines