--- ray/src/common/rtmath.h 2013/02/07 20:19:52 3.5 +++ ray/src/common/rtmath.h 2013/02/08 16:10:07 3.6 @@ -1,4 +1,4 @@ -/* RCSid $Id: rtmath.h,v 3.5 2013/02/07 20:19:52 greg Exp $ */ +/* RCSid $Id: rtmath.h,v 3.6 2013/02/08 16:10:07 greg Exp $ */ /* * Header for Radiance vector and math routines */ @@ -33,6 +33,9 @@ typedef struct { #define PI 3.14159265358979323846 #endif #endif + /* defined in tcos.c */ +extern double tcos(double x); +extern double atan2a(double y, double x); #ifdef FASTMATH #define tcos cos @@ -43,9 +46,6 @@ typedef struct { #define tsin(x) tcos((x)-(PI/2.)) #define ttan(x) (tsin(x)/tcos(x)) #endif - /* defined in tcos.c */ -extern double tcos(double x); -extern double aatan2(double y, double x); /* defined in xf.c */ extern int xf(XF *ret, int ac, char *av[]); extern int invxf(XF *ret, int ac, char *av[]);