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

Comparing ray/src/rt/rayinit.cal (file contents):
Revision 2.6 by greg, Thu Mar 18 12:36:03 1993 UTC vs.
Revision 2.7 by greg, Wed Jun 2 10:23:20 1993 UTC

# Line 144 | Line 144 | nrand(x) = unif2norm(rand(x));
144  
145                          { Local (u,v) coordinates for planar surfaces }
146   crosslen`private = Nx*Nx + Ny*Ny;
147 <                        { U is distance from origin in XY-plane }
147 >                        { U is distance from projected Z-axis }
148   U = if( crosslen`private - FTINY,
149                  (Py*Nx - Px*Ny)/crosslen`private,
150                  Px);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines