--- ray/src/rt/data.h 1989/02/02 10:41:13 1.1 +++ ray/src/rt/data.h 1991/11/12 17:09:06 2.1 @@ -8,7 +8,7 @@ * 6/4/86 */ -#define MAXDIM 8 /* maximum dimensions for data array */ +#define MAXDDIM 8 /* maximum dimensions for data array */ #define DATATYPE float /* single precision to save space */ @@ -20,7 +20,8 @@ typedef struct datarray { struct { double org, siz; /* coordinate domain */ int ne; /* number of elements */ - } dim[MAXDIM]; /* dimension specifications */ + double *p; /* point locations */ + } dim[MAXDDIM]; /* dimension specifications */ DATATYPE *arr; /* the data */ struct datarray *next; /* next array in list */ } DATARRAY; /* a data array */