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

Comparing ray/src/hd/clumpbeams.c (file contents):
Revision 3.3 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.4 by greg, Fri Jun 20 00:25:49 2003 UTC

# Line 98 | Line 98 | int    maxcnt, maxsiz;
98   int     (*cf)();
99   {
100          static short    primes[] = {9431,6803,4177,2659,1609,887,587,251,47,1};
101 <        unsigned int4   *bflags;
101 >        uint32  *bflags;
102          int     *bqueue;
103          int     bqlen;
104 <        int4    bqtotal;
104 >        int32   bqtotal;
105          int     bc, bci, bqc, myprime;
106          register int    i;
107                                          /* get clump size */
# Line 110 | Line 110 | int    (*cf)();
110          maxsiz /= sizeof(RAYVAL);
111                                          /* allocate beam queue */
112          bqueue = (int *)malloc(maxcnt*sizeof(int));
113 <        bflags = (unsigned int4 *)calloc((nbeams(hp)>>5)+1,
114 <                        sizeof(unsigned int4));
113 >        bflags = (uint32 *)calloc((nbeams(hp)>>5)+1,
114 >                        sizeof(uint32));
115          if (bqueue == NULL | bflags == NULL)
116                  error(SYSTEM, "out of memory in clumpbeams");
117                                          /* mark empty beams as done */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines