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

Comparing ray/src/common/octree.h (file contents):
Revision 2.3 by gregl, Wed Dec 3 11:03:51 1997 UTC vs.
Revision 2.4 by gwlarson, Mon Aug 24 16:38:44 1998 UTC

# Line 31 | Line 31
31   #define  istree(ot)     ((ot) > EMPTY)
32  
33   #define  oseti(ot)      (-(ot)-2)       /* object set index */
34 < #define  octbi(ot)      ((ot)>>8)       /* octree block index */
35 < #define  octti(ot)      (((ot)&0377)<<3)/* octree index in block */
34 > #define  OCTBLKSIZ      04000           /* octree block size */
35 > #define  octbi(ot)      ((ot)>>11)      /* octree block index */
36 > #define  octti(ot)      (((ot)&03777)<<3)/* octree index in block */
37  
38   #ifndef  MAXOBLK
39   #ifdef  BIGMEM
40 < #define  MAXOBLK        65535           /* maximum octree block */
40 > #define  MAXOBLK        32767           /* maximum octree block */
41   #else
42 < #define  MAXOBLK        8191            /* maximum octree block */
42 > #define  MAXOBLK        4095            /* maximum octree block */
43   #endif
44   #endif
45  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines