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.6 by schorsch, Sat Jun 7 00:54:58 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 + #ifndef _RAD_DATA_H_
6 + #define _RAD_DATA_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11 +
12 + #include "copyright.h"
13 +
14   #define  MAXDDIM        5               /* maximum data dimensions */
15  
16   #define  DATATYPE       float           /* single precision to save space */
# Line 27 | Line 32 | typedef struct datarray {
32          struct datarray  *next;         /* next array in list */
33   } DATARRAY;                     /* a data array */
34  
30 extern DATARRAY  *getdata(), *getpict();
35  
36 < extern double  datavalue();
36 > extern DATARRAY *getdata(char *dname);
37 > extern DATARRAY *getpict(char *pname);
38 > extern void     freedata(DATARRAY *dta);
39 > extern double   datavalue(DATARRAY *dp, double *pt);
40 >
41 >
42 > #ifdef __cplusplus
43 > }
44 > #endif
45 > #endif /* _RAD_DATA_H_ */
46 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines