14 |
|
#ifdef __cplusplus |
15 |
|
extern "C" { |
16 |
|
#endif |
17 |
– |
|
17 |
|
/* regular transformation */ |
18 |
|
typedef struct { |
19 |
|
MAT4 xfm; /* transform matrix */ |
45 |
|
#define tsin(x) tcos((x)-(PI/2.)) |
46 |
|
#define ttan(x) (tsin(x)/tcos(x)) |
47 |
|
#endif |
48 |
+ |
|
49 |
+ |
/* defined in disk2square.c */ |
50 |
+ |
extern void SDsquare2disk(double ds[2], double seedx, double seedy); |
51 |
+ |
extern void SDdisk2square(double sq[2], double diskx, double disky); |
52 |
+ |
|
53 |
|
/* defined in xf.c */ |
54 |
|
extern int xf(XF *ret, int ac, char *av[]); |
55 |
|
extern int invxf(XF *ret, int ac, char *av[]); |