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.3 by gwlarson, Mon Aug 24 15:30:11 1998 UTC vs.
Revision 2.4 by gwlarson, Mon Aug 24 16:38:44 1998 UTC

# Line 34 | Line 34 | octalloc()                     /* allocate an octree */
34                  if (octbi(freet) >= MAXOBLK)
35                          return(EMPTY);
36                  if ((octblock[octbi(freet)] = (OCTREE *)bmalloc(
37 <                                (unsigned)256*8*sizeof(OCTREE))) == NULL)
37 >                                (unsigned)OCTBLKSIZ*8*sizeof(OCTREE))) == NULL)
38                          return(EMPTY);
39          }
40          treetop += 8;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines