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.3 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.5 by greg, Fri Jun 27 06:53:22 2003 UTC

# Line 4 | Line 4
4   *
5   * Include after ray.h
6   */
7 + #ifndef _RAD_FUNC_H_
8 + #define _RAD_FUNC_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
8 #include "copyright.h"
9
13   #include  "calcomp.h"
14  
15   #define  MAXEXPR        9       /* maximum expressions in modifier */
# Line 20 | Line 23 | typedef struct {
23   extern XF  unitxf;              /* identity transform */
24   extern XF  funcxf;              /* current transform */
25  
23 #ifdef NOPROTO
26  
25 extern MFUNC    *getfunc();
26 extern void     freefunc();
27 extern int      setfunc();
28 extern void     loadfunc();
29
30 #else
31
27   extern MFUNC    *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd);
28   extern void     freefunc(OBJREC *m);
29   extern int      setfunc(OBJREC *m, RAY *r);
30   extern void     loadfunc(char *fname);
31  
32 +
33 + #ifdef __cplusplus
34 + }
35   #endif
36 + #endif /* _RAD_FUNC_H_ */
37 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines