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

Comparing ray/src/gen/mkillum2.c (file contents):
Revision 1.5 by greg, Thu Jul 25 10:59:07 1991 UTC vs.
Revision 1.6 by greg, Thu Jul 25 12:52:18 1991 UTC

# Line 335 | Line 335 | double  alt, azi;
335          d2 = 2.*PI * azi;
336          dv[0] = d1*cos(d2);
337          dv[1] = d1*sin(d2);
338 <        dv[2] = sqrt(1. - d1*d1);
338 >        dv[2] = sqrt(1. - alt);
339   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines