src/BoundBox.h

Go to the documentation of this file.
00001 /* Crown and Cutlass
00002  * Quad-Tree Bounding Box Object Header
00003  * Note: For use with the terrain quadtree
00004  */
00005 
00006 #if !defined( _BOUNDBOX_H_ )
00007 
00008 #define _BOUNDBOX_H_
00009 
00010 class Point;
00011 
00012 class BoundBox {
00013  public:
00014   // Contructor
00015   BoundBox();
00016 
00017   // Pass in max/min x/y/z
00018   BoundBox(float minX, float maxX, float minY, float maxY, float minZ, float maxZ);
00019 
00020   // Destructor
00021   ~BoundBox();
00022 
00023   Point *m_b1, *m_b2, *m_b3, *m_b4;
00024   Point *m_t1, *m_t2, *m_t3, *m_t4;
00025 
00026   void SetHeight(float low, float high);
00027 
00028   // Good for debugging
00029   void Draw();
00030   void Dump();
00031 };
00032 
00033 #endif

Generated on Mon Jan 8 22:34:11 2007 for CrownandCutlass by  doxygen 1.4.7