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

Comparing ray/src/cal/cal/rskysrc.cal (file contents):
Revision 1.1 by greg, Wed Jul 1 00:39:34 2009 UTC vs.
Revision 1.2 by greg, Tue Jul 14 16:16:20 2009 UTC

# Line 12 | Line 12
12   }
13   DEGREE : PI/180;
14  
15 < x1 = .5; x2 = .5;               { default random variable settings for midpoint }
15 > x1 = .5; x2 = .5;               { default rand. var. settings for midpoint }
16  
17   MF : 2^2;                       { Multiplication factor }
18   alpha : 90/(MF*7 + .5);         { Separation between rows in degrees }
# Line 26 | Line 26 | RowMax : 7*MF + 1;
26   Rmax : raccum(RowMax);
27  
28   Rfindrow(r, rem) : if(rem-rnaz(r)-.5, Rfindrow(r+1, rem-rnaz(r)), r);
29 < Rrow = if(Rbin-(Rmax +.5), RowMax, Rfindrow(0, Rbin));
29 > Rrow = if(Rbin-(Rmax-.5), RowMax, Rfindrow(0, Rbin));
30   Rcol = Rbin - raccum(Rrow) - 1;
31  
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines