ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/tilt.cal
(Generate patch)

Comparing ray/src/cv/tilt.cal (file contents):
Revision 2.1 by greg, Tue Nov 12 17:02:15 1991 UTC vs.
Revision 2.2 by greg, Thu Jun 2 09:10:17 1994 UTC

# Line 5 | Line 5
5   }
6  
7   tilt_ang = Acos(Kz) / DEGREE;
8 < tilt_xang = Asin(Jy/sqrt(Jy*Jy+Jz*Jz)) / DEGREE;
8 > tilt_xang = if(Jy*Jy-FTINY, Asin(Jy/sqrt(Jy*Jy+Jz*Jz))/DEGREE, 0);
9  
10   tilt_ang2 = tri(tilt_ang, 90);
11   tilt_xang2 = tri(tilt_xang, 90);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines