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.9 by schorsch, Fri Jun 6 16:38:47 2003 UTC vs.
Revision 2.12 by greg, Sun Nov 1 04:41:55 2009 UTC

# Line 8 | Line 8
8   extern "C" {
9   #endif
10  
11 #include "copyright.h"
12
11   /*
12   *      An octree is expressed as an integer which is either
13   *      an index to eight other nodes, the empty tree, or an index
# Line 55 | Line 53 | extern OCTREE  *octblock[MAXOBLK];     /* octree blocks */
53   */
54  
55   typedef struct {
58        OCTREE  cutree;                 /* the octree for this cube */
56          FVECT  cuorg;                   /* the cube origin */
57          double  cusize;                 /* the cube size */
58 +        OCTREE  cutree;                 /* the octree for this cube */
59   }  CUBE;
60  
61   extern CUBE  thescene;                  /* the main scene */
# Line 90 | Line 88 | extern void    octfree(OCTREE ot);
88   extern void     octdone(void);
89   extern OCTREE   combine(OCTREE ot);
90   extern void     culocate(CUBE *cu, FVECT pt);
93 extern void     cucopy(CUBE *cu1, CUBE *cu2);
91   extern int      incube(CUBE *cu, FVECT pt);
92  
93   extern int      readoct(char *fname, int load, CUBE *scene, char *ofn[]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines