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

Comparing ray/src/px/pcond4.c (file contents):
Revision 3.18 by greg, Mon Nov 8 15:50:59 2004 UTC vs.
Revision 3.19 by greg, Sun Nov 14 16:57:18 2004 UTC

# Line 491 | Line 491 | sballoc(               /* allocate scanbar */
491   }
492  
493  
494 < extern int
494 > extern void
495   initacuity(void)                        /* initialize variable acuity sampling */
496   {
497          FVECT   diffx, diffy, cp;
498          double  omega, maxsr;
499          register int    x, y, i;
500          
501        if (fvxr < 3 || fvyr < 3)
502                return(0);              /* too small to work with */
503
501          compraydir();                   /* compute ray directions */
502  
503          inpacuD = (float *)malloc(fvxr*fvyr*sizeof(float));
# Line 536 | Line 533 | initacuity(void)                       /* initialize variable acuity sampl
533          }
534                                          /* initialize with next power of two */
535          rootbar = sballoc((int)(log(maxsr)/log(2.))+1, 2, scanlen(&inpres));
539        return(1);
536   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines