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 |
+ |
#ifdef __cplusplus |
10 |
+ |
extern "C" { |
11 |
+ |
#endif |
12 |
|
|
13 |
|
#include "calcomp.h" |
14 |
|
|
23 |
|
extern XF unitxf; /* identity transform */ |
24 |
|
extern XF funcxf; /* current transform */ |
25 |
|
|
26 |
< |
extern MFUNC *getfunc(); /* get MFUNC structure for modifier */ |
26 |
> |
|
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 |
> |
|