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 1.1 by greg, Thu Aug 22 08:43:47 1991 UTC vs.
Revision 2.3 by greg, Sat Feb 22 02:07:23 2003 UTC

# Line 1 | Line 1
1 < { SCCSid "$SunId$ LBL" }
2 <
1 > { RCSid: $Id$ }
2   {
3          tilt.cal - tilt data for IES luminaires
4   }
5  
6   tilt_ang = Acos(Kz) / DEGREE;
7 < tilt_xang = Asin(Jy/sqrt(Jy*Jy+Jz*Jz)) / DEGREE;
7 > tilt_xang = if(Jy*Jy-FTINY, Asin(Jy/sqrt(Jy*Jy+Jz*Jz))/DEGREE, 0);
8  
9   tilt_ang2 = tri(tilt_ang, 90);
10   tilt_xang2 = tri(tilt_xang, 90);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines