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.6 by greg, Fri Feb 8 16:10:07 2013 UTC vs.
Revision 3.13 by greg, Fri Dec 3 16:50:05 2021 UTC

# 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 37 | Line 36 | typedef struct {
36   extern double   tcos(double x);
37   extern double   atan2a(double y, double x);
38  
39 < #ifdef  FASTMATH
39 > #ifdef  __FAST_MATH__
40   #define  tcos                   cos
41   #define  tsin                   sin
42   #define  ttan                   tan
# Line 46 | Line 45 | extern double  atan2a(double y, double x);
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[]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines