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

Comparing ray/src/rt/func.h (file contents):
Revision 2.1 by greg, Mon Nov 25 09:49:47 1991 UTC vs.
Revision 2.8 by greg, Fri Feb 18 00:40:25 2011 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   * Header file for modifiers using function files.
4 < * Include after standard.h.
4 > *
5 > * Include after ray.h
6   */
7 + #ifndef _RAD_FUNC_H_
8 + #define _RAD_FUNC_H_
9  
10 < #include  "calcomp.h"
10 > #include "calcomp.h"
11  
12 + #ifdef __cplusplus
13 + extern "C" {
14 + #endif
15 +
16   #define  MAXEXPR        9       /* maximum expressions in modifier */
17  
18   typedef struct {
# Line 20 | Line 24 | typedef struct {
24   extern XF  unitxf;              /* identity transform */
25   extern XF  funcxf;              /* current transform */
26  
27 < extern MFUNC  *getfunc();       /* get MFUNC structure for modifier */
27 >
28 > extern MFUNC    *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd);
29 > extern void     freefunc(OBJREC *m);
30 > extern int      setfunc(OBJREC *m, RAY *r);
31 > extern void     loadfunc(char *fname);
32 >
33 >        /* defined in noise3.c */
34 > extern void     setnoisefuncs(void);
35 >
36 >        /* defined in fprism.c */
37 > extern void     setprismfuncs(void);
38 >
39 >
40 > #ifdef __cplusplus
41 > }
42 > #endif
43 > #endif /* _RAD_FUNC_H_ */
44 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines