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 |
|
|
8 |
+ |
#include "copyright.h" |
9 |
+ |
|
10 |
|
#include "calcomp.h" |
11 |
|
|
12 |
|
#define MAXEXPR 9 /* maximum expressions in modifier */ |
20 |
|
extern XF unitxf; /* identity transform */ |
21 |
|
extern XF funcxf; /* current transform */ |
22 |
|
|
23 |
< |
extern MFUNC *getfunc(); /* get MFUNC structure for modifier */ |
23 |
> |
#ifdef NOPROTO |
24 |
> |
|
25 |
> |
extern MFUNC *getfunc(); |
26 |
> |
extern void freefunc(); |
27 |
> |
extern int setfunc(); |
28 |
> |
extern void loadfunc(); |
29 |
> |
|
30 |
> |
#else |
31 |
> |
|
32 |
> |
extern MFUNC *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd); |
33 |
> |
extern void freefunc(OBJREC *m); |
34 |
> |
extern int setfunc(OBJREC *m, RAY *r); |
35 |
> |
extern void loadfunc(char *fname); |
36 |
> |
|
37 |
> |
#endif |