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 1.1 by greg, Thu Feb 2 10:34:18 1989 UTC vs.
Revision 1.4 by greg, Thu Apr 18 12:54:26 1991 UTC

# Line 61 | Line 61 | extern CUBE  thescene;                 /* the main scene */
61   #define  IO_FILES       010             /* object file names */
62   #define  IO_BOUNDS      020             /* octree boundary */
63   #define  IO_ALL         (~0)            /* everything */
64 +                                /* octree format identifier */
65 + #define  OCTFMT         "Radiance_octree"
66                                  /* magic number for octree files */
67 < #define  OCTMAGIC       (275+sizeof(OBJECT))
67 > #define  OCTMAGIC       (283+sizeof(OBJECT))
68                                  /* octree node types */
69   #define  OT_EMPTY       0
70   #define  OT_FULL        1
71   #define  OT_TREE        2
72 +                                /* return values for surface functions */
73 + #define  O_MISS         0               /* no intersection */
74 + #define  O_HIT          1               /* intersection */
75 + #define  O_IN           2               /* cube contained entirely */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines