Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
GizmoHandleComponent.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <glm/glm.hpp>
4
5
#include <
AssetManager/CubeMap.hpp
>
6
#include <
Components/BaseComponent.hpp
>
7
8
namespace
shkyera
{
9
10
class
GizmoHandleComponent
:
public
BaseComponent
<GizmoHandleComponent> {
11
public
:
12
enum class
Direction
{
X
,
Y
,
Z
,
ANY
};
13
14
GizmoHandleComponent
() =
default
;
15
GizmoHandleComponent
(
Direction
dir
) :
direction
(
dir
) {}
16
17
Direction
direction
=
Direction::ANY
;
18
};
19
20
}
// namespace shkyera
BaseComponent.hpp
CubeMap.hpp
shkyera::BaseComponent
Base component for implementing update functionality.
Definition
BaseComponent.hpp:17
shkyera::GizmoHandleComponent
Definition
GizmoHandleComponent.hpp:10
shkyera::GizmoHandleComponent::GizmoHandleComponent
GizmoHandleComponent(Direction dir)
Definition
GizmoHandleComponent.hpp:15
shkyera::GizmoHandleComponent::GizmoHandleComponent
GizmoHandleComponent()=default
shkyera::GizmoHandleComponent::Direction
Direction
Definition
GizmoHandleComponent.hpp:12
shkyera::GizmoHandleComponent::Direction::X
@ X
shkyera::GizmoHandleComponent::Direction::Z
@ Z
shkyera::GizmoHandleComponent::Direction::Y
@ Y
shkyera::GizmoHandleComponent::Direction::ANY
@ ANY
shkyera::GizmoHandleComponent::direction
Direction direction
Definition
GizmoHandleComponent.hpp:17
shkyera
Definition
Asset.hpp:6
shkyera::Clock
Definition
Clock.hpp:9
src
Components
GizmoHandleComponent.hpp
Generated by
1.9.8
Franciszek Szewczyk © 2023