Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
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
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Editor::Gizmo
Definition:
Gizmo.hpp:42
Ocular::Core::SceneObject
Definition:
SceneObject.hpp:93
Ocular::Editor::AxisGizmo
Definition:
AxisGizmo.hpp:49
Ocular::Math::Matrix4x4
A 4x4 column-major float matrix.
Definition:
Matrix4x4.hpp:64
OcularEditor
include
Gizmos
Axis
AxisGizmo.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10