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

Comparing ray/src/util/rambpos.cal (file contents):
Revision 2.4 by greg, Thu May 1 02:52:03 2014 UTC vs.
Revision 2.5 by greg, Fri May 9 23:49:05 2014 UTC

# Line 6 | Line 6 | and(a,b) : if(a,b,a);
6                                  { level selector }
7   lvl = $10;
8   wt = $11;
9 acond = and( wt-MW, if(LV+.5, and(lvl-LV+.5,LV+.5-lvl), 6.5-lvl) );
10 px = $1; py = $2; pz = $3;
9   r0 = SF*$12; r1 = SF*$13;
10 + acond = and( r0-5e-5, and( wt-MW, if(LV+.5, and(lvl-LV+.5,LV+.5-lvl), 6.5-lvl) ) );
11 + px = $1; py = $2; pz = $3;
12   nx = $4; ny = $5; nz = $6;
13   ux = $7; uy = $8; uz = $9;
14   vx = ny*uz - nz*uy;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines