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

Comparing ray/src/hd/rhd_qtree.h (file contents):
Revision 3.4 by gregl, Mon Nov 24 15:15:21 1997 UTC vs.
Revision 3.5 by gregl, Tue Nov 25 16:52:04 1997 UTC

# Line 42 | Line 42 | extern struct rleaves {
42          char            *base;          /* base of allocated memory */
43   }       qtL;                    /* our pile of leaves */
44  
45 + #define is_stump(t)     (!((t)->flgs & (BR_ANY|LF_ANY)))
46 +
47   extern RTREE    qtrunk;         /* trunk of quadtree */
48   extern double   qtDepthEps;     /* epsilon to compare depths (z fraction) */
49   extern int      qtMinNodesiz;   /* minimum node dimension (pixels) */
48
49
50 /************************************************************************
51 * These driver support routines implement the dev_value() call, but
52 * require the following callbacks:
53
54 dev_paintr(rgb, x0, y0, x1, y1) : paint a rectangle
55 BYTE    rgb[3];                 : rectangle color
56 int     x0, y0, x1, y1;         : rectangle boundaries
57
58 Draws an open rectangle between [x0,x1) and [y0,y1) with the color rgb.
59 This function is called many times by qtUpdate(), qtRedraw() and qtReplant().
60
61 ************************************************************************/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines