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

Comparing ray/src/cv/mgf2meta.c (file contents):
Revision 2.12 by greg, Tue Feb 22 16:45:12 2011 UTC vs.
Revision 2.13 by greg, Thu Apr 21 03:11:55 2022 UTC

# Line 151 | Line 151 | doline(                /* draw line conditionally */
151          hshtab[h][0] = v1x; hshtab[h][1] = v1y;
152          hshtab[h][2] = v2x; hshtab[h][3] = v2y;
153          if ((long)(v2x-v1x)*(v2x-v1x) + (long)(v2y-v1y)*(v2y-v1y)
154 <                        <= random() % rthresh)
154 >                        <= irandom(rthresh))
155                  return(0);
156          mline(v1x, v1y, layer/4, 0, layer%4);
157          mdraw(v2x, v2y);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines