aboutsummaryrefslogtreecommitdiff
path: root/source/EditorAttachmentImpl.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-07 15:36:35 -0700
committerrtk0c <[email protected]>2022-05-07 15:36:35 -0700
commit7129d65df7b02d7412ee5d56debd5a9c094db5ad (patch)
tree55b551554d6aba9de7fb004c0c250800dfb87611 /source/EditorAttachmentImpl.hpp
parentcde94efdd44553f3f6575ce84b44c6799e1a1425 (diff)
Changeset: 23 Fix camera view matrix, [WIP] guizmo
Diffstat (limited to 'source/EditorAttachmentImpl.hpp')
-rw-r--r--source/EditorAttachmentImpl.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/EditorAttachmentImpl.hpp b/source/EditorAttachmentImpl.hpp
index e9dbe6f..53bcd37 100644
--- a/source/EditorAttachmentImpl.hpp
+++ b/source/EditorAttachmentImpl.hpp
@@ -10,16 +10,20 @@
class EaGameObject : public EditorAttachment {
public:
+ // NOTE: in degrees
+ glm::vec3 eulerAnglesRotation;
+
+public:
static std::unique_ptr<EditorAttachment> Create(GameObject* object);
};
-class EaPlayer : public EditorAttachment {
+class EaPlayer : public EaGameObject {
public:
RcPtr<IresSpritesheet> confSprite;
RcPtr<IresMaterial> confMaterial;
};
-class EaLevelWrapper : public EditorAttachment {
+class EaLevelWrapper : public EaGameObject {
public:
};