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

Comparing ray/src/rt/ambcomp.c (file contents):
Revision 1.12 by greg, Tue Aug 20 13:32:51 1991 UTC vs.
Revision 1.13 by greg, Thu Aug 22 11:56:58 1991 UTC

# Line 72 | Line 72 | RAY  *r;
72          hlist[0] = r->rno;
73          hlist[1] = dp->t;
74          hlist[2] = dp->p;
75 <        peano(spt, 2, urand(ilhash(hlist,3)+dp->n), .01);
75 >        multisamp(spt, 2, urand(ilhash(hlist,3)+dp->n));
76          zd = sqrt((dp->t + spt[0])/h->nt);
77          phi = 2.0*PI * (dp->p + spt[1])/h->np;
78          xd = cos(phi) * zd;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines