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

Comparing ray/src/hd/rholo3.c (file contents):
Revision 3.20 by gregl, Thu Jan 22 11:25:51 1998 UTC vs.
Revision 3.21 by gwlarson, Mon Feb 2 11:42:10 1998 UTC

# Line 97 | Line 97 | int    nents;
97                                  /* complete list operations */
98          switch (op) {
99          case BS_NEW:                    /* new computation set */
100 <                listpos = 0;
101 <                lastin = -1;
100 >                listpos = 0; lastin = -1;
101                  if (complen)            /* free old list */
102                          free((char *)complist);
103                  complist = NULL;
# Line 230 | Line 229 | init_global()                  /* initialize global ray computation *
229                  frac = 1024.*1024.*16384. / (wtotal*sizeof(RAYVAL));
230          while (k--)
231                  complist[k].nr = frac * complist[k].nr;
232 <        listpos = 0; lastin = -1;       /* flag initial sort */
232 >        listpos = 0; lastin = -1;       /* perform initial sort */
233 >        sortcomplist();
234   }
235  
236  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines