# | Line 14 | Line 14 | |
---|---|---|
14 | #ifdef __cplusplus | |
15 | extern "C" { | |
16 | #endif | |
17 | – | |
17 | /* regular transformation */ | |
18 | typedef struct { | |
19 | MAT4 xfm; /* transform matrix */ | |
# | Line 45 | Line 44 | extern double atan2a(double y, double x); | |
44 | /* table-based cosine approximation */ | |
45 | #define tsin(x) tcos((x)-(PI/2.)) | |
46 | #define ttan(x) (tsin(x)/tcos(x)) | |
47 | + | #endif |
48 | + | |
49 | + | #ifdef _WIN32 |
50 | + | extern double erf(double x); |
51 | + | extern double erfc(double x); |
52 | #endif | |
53 | /* defined in xf.c */ | |
54 | extern int xf(XF *ret, int ac, char *av[]); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |