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.7 by greg, Sat Jun 29 15:46:02 2013 UTC vs.
Revision 3.15 by greg, Mon Dec 13 21:05:00 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 42 | Line 41 | extern double  atan2a(double y, double x);
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
# Line 62 | Line 61 | extern double  fdir2diff(int32 dc1, FVECT v2);
61   }
62   #endif
63   #endif /* _RAD_RTMATH_H_ */
65

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines