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

Comparing ray/src/hd/sm_stree.h (file contents):
Revision 3.1 by gwlarson, Wed Aug 19 17:45:24 1998 UTC vs.
Revision 3.2 by gwlarson, Fri Sep 11 11:52:27 1998 UTC

# Line 22 | Line 22 | typedef struct _STREE {
22   }STREE;
23  
24   #define ST_ROOT(s)             ((s)->root)
25 + #define ST_ROOT_PTR(s)             (&(s)->root)
26   #define ST_NTH_ROOT(s,n)       QT_NTH_CHILD(ST_ROOT(s),n)
27   #define ST_NTH_ROOT_PTR(s,n)   QT_NTH_CHILD_PTR(ST_ROOT(s),n)
28   #define ST_CLEAR_ROOT(s)       QT_CLEAR_CHILDREN(ST_ROOT(s))
# Line 36 | Line 37 | typedef struct _STREE {
37                                  VCOPY(ST_NTH_BASE(s,2),(b)[2]), \
38                                  VCOPY(ST_NTH_BASE(s,3),(b)[3]))
39   #define ST_COORD(s,p,r)         VSUB(r,p,ST_CENTER(s))
40 <
40 > #define ST_CLEAR_FLAGS(s)       qtClearAllFlags()
41   /* STREE functions
42  
43  
# Line 57 | Line 58 | typedef struct _STREE {
58            threshold- merge
59   */
60   extern int   stTri_verts[4][3];
61 + extern int   stTri_nbrs[4][3];
62   extern FVECT stDefault_base[4];
63  
64  
65 <
65 > extern STREE *stAlloc();
66 > extern QUADTREE *stPoint_locate_cell();
67  
68  
69  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines