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

Comparing ray/src/px/pf3.c (file contents):
Revision 2.14 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.15 by greg, Tue Feb 25 00:26:05 2003 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char       RCSid[] = "$Id$";
2 > static const char RCSid[] = "$Id$";
3   #endif
4   /*
5   *  pf3.c - routines for gaussian and box filtering
# Line 66 | Line 66 | initmask()                     /* initialize gaussian lookup table */
66          double  d;
67          register int  x;
68  
69 <        gtabsiz = 111*CHECKRAD*CHECKRAD/(rad*rad);
69 >        gtabsiz = 111*CHECKRAD*CHECKRAD;
70          gausstable = (float *)malloc(gtabsiz*sizeof(float));
71          if (gausstable == NULL)
72                  goto memerr;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines