Ocular Engine
Bounds.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_MATH_BOUNDS__H__
19 #define __H__OCULAR_MATH_BOUNDS__H__
20 
21 //------------------------------------------------------------------------------------------
22 
27 namespace Ocular
28 {
33  namespace Math
34  {
35  enum BoundsType
36  {
37  AABB = 0,
38  OBB,
39  Sphere
40  };
41 
45  class Bounds
46  {
47  public:
48 
49  BoundsType getType() const;
50 
51  bool isVisible() const;
52  void setVisible(bool visible);
53 
54  protected:
55 
56  Bounds(BoundsType const type);
57 
58  bool m_Visible;
59  BoundsType m_Type;
60 
61  private:
62  };
63  }
67 }
72 //------------------------------------------------------------------------------------------
73 
74 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Bounds.hpp:45