home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 5 / MA_Cover_5.iso / ppc / qmapwos / src / render.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-08  |  480 b   |  16 lines

  1. #ifndef INC_RENDER_H
  2. #define INC_RENDER_H
  3.  
  4. #include "bspfile.h"
  5. #include "3d.h"
  6.  
  7. extern int bbox_inside_plane(short *mins, short *maxs, dplane_t *plane);
  8. extern int node_in_frustrum(dnode_t *node, dplane_t *planes);
  9. extern int leaf_in_frustrum(dleaf_t *node, dplane_t *planes);
  10. extern void mark_leaf_faces(int leaf);
  11. extern int visit_visible_leaves(vector *cam_loc);
  12. extern void render_node_faces(int node, int side);
  13. extern void render_world(vector *loc);
  14.  
  15. #endif
  16.