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 2.3 by greg, Thu Feb 15 18:46:56 1996 UTC vs.
Revision 2.5 by greg, Tue Feb 25 02:47:22 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1996 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3 < *  data.h - header file for routines which interpolate data.
3 > * Header for data file loading and computation routines.
4   */
5  
6 + #include "copyright.h"
7 +
8   #define  MAXDDIM        5               /* maximum data dimensions */
9  
10   #define  DATATYPE       float           /* single precision to save space */
# Line 27 | Line 26 | typedef struct datarray {
26          struct datarray  *next;         /* next array in list */
27   } DATARRAY;                     /* a data array */
28  
29 < extern DATARRAY  *getdata(), *getpict();
29 > #ifdef NOPROTO
30  
31 < extern double  datavalue();
31 > extern DATARRAY *getdata();
32 > extern DATARRAY *getpict();
33 > extern void     freedata();
34 > extern double   datavalue();
35 >
36 > #else
37 >
38 > extern DATARRAY *getdata(char *dname);
39 > extern DATARRAY *getpict(char *pname);
40 > extern void     freedata(DATARRAY *dta);
41 > extern double   datavalue(DATARRAY *dp, double *pt);
42 >
43 > #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines