ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/oct.h
(Generate patch)

Comparing libgender/oct.h (file contents):
Revision 1.19 by root, Tue Oct 19 15:34:58 2004 UTC vs.
Revision 1.20 by root, Tue Nov 9 22:24:14 2004 UTC

13 struct octant *parent; 13 struct octant *parent;
14 /* front 23 back 67 14 /* front 23 back 67
15 * 01 45 */ 15 * 01 45 */
16 struct octant *sub[8]; 16 struct octant *sub[8];
17 int fill; 17 int fill;
18 sector orig; 18 sector orig; // center
19 uoffs extent; 19 uoffs extent; // half the edge size, "radius"
20 20
21 void add (entity *e); 21 void add (entity *e);
22 void remove (entity *e); 22 void remove (entity *e);
23 23
24 bool detect_visibility (view &ctx); // is this octant actually visible? 24 bool detect_visibility (view &ctx); // is this octant actually visible?
25
26 void draw_depth (view &ctx);
25 void display (view &ctx); 27 void draw_postdepth (view &ctx);
28 void draw_lighted (view &ctx);
26 29
27 void event (occ_query &ev); 30 void event (occ_query &ev);
28 visibility_base *new_visibility (); 31 visibility_base *new_visibility ();
29 void clear_visibility (visibility_base *vs); 32 void clear_visibility (visibility_base *vs);
30 33

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines