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

Comparing ray/src/common/tcos.c (file contents):
Revision 3.8 by greg, Fri Feb 8 16:10:07 2013 UTC vs.
Revision 3.9 by greg, Fri Feb 8 16:39:01 2013 UTC

# Line 64 | Line 64 | atan2a(double y, double x)
64          aratio = (ratio = y/x) >= 0 ? ratio : -ratio;
65  
66          if (aratio > 1.01)
67 <                return PI/2. - aatan2(x, y);
67 >                return PI/2. - atan2a(x, y);
68  
69          val = PI/4.*ratio - ratio*(aratio - 1.)*(0.2447 + 0.0663*aratio);
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines