home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / doom_i / program / reject10.exe / SOURCE.ZIP / SECTOR.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-30  |  477 b   |  23 lines

  1. #ifndef __SECTOR_HPP__                
  2. #define __SECTOR_HPP__                
  3.  
  4. #include "structs.hpp"
  5. #include "base.hpp"
  6.  
  7. class CSector : public CBase
  8. {
  9.      private:
  10.           SWORD max_x;
  11.           SWORD max_y;
  12.           SWORD min_x;
  13.           SWORD min_y;
  14.  
  15.      public:
  16.           CSector ();
  17.           void AddVertex (VERTEX &v);
  18.           void GetCenter (SWORD &x, SWORD &y);
  19. };
  20.  
  21.                                   
  22. #endif                            
  23.