… | |
… | |
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; |
19 | uoffs extent; |
19 | uoffs extent; |
20 | gl::vertex_buffer_object vb_bbox; |
|
|
21 | |
20 | |
22 | void add (entity *e); |
21 | void add (entity *e); |
23 | void remove (entity *e); |
22 | void remove (entity *e); |
24 | |
23 | |
25 | bool depth_pass (view &ctx); // is this octant actually visible? |
24 | bool detect_visibility (view &ctx); // is this octant actually visible? |
26 | void display (view &ctx); |
25 | void display (view &ctx); |
27 | |
26 | |
28 | void event (occ_query &ev); |
27 | void event (occ_query &ev); |
29 | visibility_base *new_visibility (); |
28 | visibility_base *new_visibility (); |
30 | void clear_visibility (visibility_base *vs); |
29 | void clear_visibility (visibility_base *vs); |