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

Comparing ray/src/common/jitteraperture.c (file contents):
Revision 2.1 by greg, Fri Dec 3 18:10:48 2021 UTC vs.
Revision 2.2 by greg, Wed Dec 15 01:38:50 2021 UTC

# Line 23 | Line 23 | VIEW  *v,
23   double  dia
24   )
25   {
26 <        double  vc, df[2];
26 >        RREAL  df[2];
27 >        double  vc;
28          int  i;
29                                          /* are we even needed? */
30          if (dia <= FTINY)
31                  return(1);
32                                          /* get random point on disk */
33 <        SDsquare2disk(df, frandom(), frandom());
33 >        square2disk(df, frandom(), frandom());
34          df[0] *= .5*dia;
35          df[1] *= .5*dia;
36          if ((v->type == VT_PER) | (v->type == VT_PAR)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines