7 |
|
#ifndef _RAD_FUNC_H_ |
8 |
|
#define _RAD_FUNC_H_ |
9 |
|
|
10 |
< |
#include "ray.h" |
11 |
< |
#include "object.h" |
12 |
< |
#include "calcomp.h" |
10 |
> |
#include "calcomp.h" |
11 |
|
|
12 |
|
#ifdef __cplusplus |
13 |
|
extern "C" { |
25 |
|
extern XF funcxf; /* current transform */ |
26 |
|
|
27 |
|
|
28 |
< |
extern MFUNC *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd); |
28 |
> |
extern MFUNC *getfunc(OBJREC *m, int ff, unsigned int ef, int dofwd); |
29 |
|
extern void freefunc(OBJREC *m); |
30 |
|
extern int setfunc(OBJREC *m, RAY *r); |
31 |
|
extern void loadfunc(char *fname); |
32 |
|
|
33 |
|
/* defined in noise3.c */ |
34 |
< |
extern void setnoisefuncs(void); |
34 |
> |
extern void setnoisefuncs(void); |
35 |
|
|
36 |
|
/* defined in fprism.c */ |
37 |
< |
extern void setprismfuncs(void); |
40 |
< |
|
37 |
> |
extern void setprismfuncs(void); |
38 |
|
|
39 |
|
|
40 |
|
#ifdef __cplusplus |