| 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 |
+ |
|
| 14 |
|
#include "copyright.h" |
| 15 |
|
|
| 16 |
|
#include "calcomp.h" |
| 26 |
|
extern XF unitxf; /* identity transform */ |
| 27 |
|
extern XF funcxf; /* current transform */ |
| 28 |
|
|
| 23 |
– |
#ifdef NOPROTO |
| 29 |
|
|
| 25 |
– |
extern MFUNC *getfunc(); |
| 26 |
– |
extern void freefunc(); |
| 27 |
– |
extern int setfunc(); |
| 28 |
– |
extern void loadfunc(); |
| 29 |
– |
|
| 30 |
– |
#else |
| 31 |
– |
|
| 30 |
|
extern MFUNC *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd); |
| 31 |
|
extern void freefunc(OBJREC *m); |
| 32 |
|
extern int setfunc(OBJREC *m, RAY *r); |
| 33 |
|
extern void loadfunc(char *fname); |
| 34 |
|
|
| 35 |
+ |
|
| 36 |
+ |
#ifdef __cplusplus |
| 37 |
+ |
} |
| 38 |
|
#endif |
| 39 |
+ |
#endif /* _RAD_FUNC_H_ */ |
| 40 |
+ |
|