| 41 |
|
#define tsin sin |
| 42 |
|
#define ttan tan |
| 43 |
|
#else |
| 44 |
< |
/* table-based cosine approximation */ |
| 44 |
> |
/* table-based approx in tcos.c */ |
| 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 |
– |
|
| 48 |
|
/* defined in xf.c */ |
| 49 |
+ |
extern int isxfopt(char *); |
| 50 |
|
extern int xf(XF *ret, int ac, char *av[]); |
| 51 |
|
extern int invxf(XF *ret, int ac, char *av[]); |
| 52 |
|
extern int fullxf(FULLXF *fx, int ac, char *av[]); |
| 62 |
|
} |
| 63 |
|
#endif |
| 64 |
|
#endif /* _RAD_RTMATH_H_ */ |
| 69 |
– |
|