ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rlux.csh
Revision: 2.2
Committed: Tue Oct 19 17:24:47 1993 UTC (30 years, 5 months ago) by greg
Content type: application/x-csh
Branch: MAIN
Changes since 2.1: +1 -1 lines
Log Message:
fixed arg count check

File Contents

# User Rev Content
1 greg 2.1 #!/bin/csh -f
2     # SCCSid "$SunId$ LBL"
3     #
4     # Compute illuminance from ray origin and direction
5     #
6 greg 2.2 if ( $#argv < 1 ) then
7 greg 2.1 echo "Usage: $0 [rtrace args] octree"
8     exit 1
9     endif
10     rtrace -i+ -dv- -h- -x 1 $argv[*]:q | rcalc -e '$1=47.1*$1+117.2*$2+14.7*$3'