Ocular Engine
AxisGizmo.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_GIZMO_AXIS__H__
19 #define __H__OCULAR_EDITOR_GIZMO_AXIS__H__
20 
21 #include "Gizmos/Gizmo.hpp"
22 #include "Events/AEventListener.hpp"
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Editor
37  {
49  class AxisGizmo : public Gizmo
50  {
51  public:
52 
53  AxisGizmo(Core::SceneObject* parent = nullptr);
54  virtual ~AxisGizmo();
55 
56  virtual void setSelected(bool selected) override;
57  virtual Math::Matrix4x4 getModelMatrix(bool local = true) const override;
58 
59  void clearDepthBuffer();
60 
61  protected:
62 
63  Gizmo* m_AxisX;
64  Gizmo* m_AxisY;
65  Gizmo* m_AxisZ;
66 
67  uint32_t m_ClearCount;
68 
69  private:
70  };
71  }
75 }
80 //------------------------------------------------------------------------------------------
81 
82 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Gizmo.hpp:42
Definition: SceneObject.hpp:93
Definition: AxisGizmo.hpp:49
A 4x4 column-major float matrix.
Definition: Matrix4x4.hpp:64