ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/tilt.cal
Revision: 2.3
Committed: Sat Feb 22 02:07:23 2003 UTC (21 years, 1 month ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R5, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad5R3, HEAD
Changes since 2.2: +1 -2 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# Content
1 { RCSid: $Id$ }
2 {
3 tilt.cal - tilt data for IES luminaires
4 }
5
6 tilt_ang = Acos(Kz) / 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);