| 6 |
|
*/ |
| 7 |
|
#ifndef _RAD_FUNC_H_ |
| 8 |
|
#define _RAD_FUNC_H_ |
| 9 |
+ |
|
| 10 |
+ |
#include "ray.h" |
| 11 |
+ |
#include "object.h" |
| 12 |
+ |
#include "calcomp.h" |
| 13 |
+ |
|
| 14 |
|
#ifdef __cplusplus |
| 15 |
|
extern "C" { |
| 16 |
|
#endif |
| 17 |
|
|
| 13 |
– |
|
| 14 |
– |
#include "copyright.h" |
| 15 |
– |
|
| 16 |
– |
#include "calcomp.h" |
| 17 |
– |
|
| 18 |
|
#define MAXEXPR 9 /* maximum expressions in modifier */ |
| 19 |
|
|
| 20 |
|
typedef struct { |
| 27 |
|
extern XF funcxf; /* current transform */ |
| 28 |
|
|
| 29 |
|
|
| 30 |
< |
extern MFUNC *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd); |
| 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 |
+ |
/* defined in noise3.c */ |
| 36 |
+ |
extern void setnoisefuncs(void); |
| 37 |
+ |
|
| 38 |
+ |
/* defined in fprism.c */ |
| 39 |
+ |
extern void setprismfuncs(void); |
| 40 |
+ |
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
#ifdef __cplusplus |