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

Comparing ray/src/common/octree.c (file contents):
Revision 2.1 by greg, Tue Nov 12 16:55:14 1991 UTC vs.
Revision 2.2 by greg, Fri Mar 7 15:45:30 1997 UTC

# Line 56 | Line 56 | register OCTREE  ot;
56   }
57  
58  
59 + octdone()                       /* free EVERYTHING */
60 + {
61 +        register int    i;
62 +
63 +        for (i = 0; i < MAXOBLK; i++) {
64 +                bfree((char *)octblock[i], (unsigned)256*8*sizeof(OCTREE));
65 +                octblock[i] = NULL;
66 +        }
67 +        ofreelist = EMPTY;
68 +        treetop = 0;
69 + }
70 +
71 +
72   OCTREE
73   combine(ot)                     /* recursively combine nodes */
74   register OCTREE  ot;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines