ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/rtmath.h
(Generate patch)

Comparing ray/src/common/rtmath.h (file contents):
Revision 3.5 by greg, Thu Feb 7 20:19:52 2013 UTC vs.
Revision 3.6 by greg, Fri Feb 8 16:10:07 2013 UTC

# Line 33 | Line 33 | typedef struct {
33   #define  PI             3.14159265358979323846
34   #endif
35   #endif
36 +                                        /* defined in tcos.c */
37 + extern double   tcos(double x);
38 + extern double   atan2a(double y, double x);
39  
40   #ifdef  FASTMATH
41   #define  tcos                   cos
# Line 43 | Line 46 | typedef struct {
46   #define  tsin(x)                tcos((x)-(PI/2.))
47   #define  ttan(x)                (tsin(x)/tcos(x))
48   #endif
46                                        /* defined in tcos.c */
47 extern double   tcos(double x);
48 extern double   aatan2(double y, double x);
49                                          /* defined in xf.c */
50   extern int      xf(XF *ret, int ac, char *av[]);
51   extern int      invxf(XF *ret, int ac, char *av[]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines