aboutsummaryrefslogtreecommitdiff
path: root/source/EditorAttachmentImpl.hpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-05-07 15:36:35 -0700
committerhnOsmium0001 <[email protected]>2022-05-07 15:36:35 -0700
commit18b0c0e122f04b840f563862c5c1e4b2934b55c1 (patch)
treedfe167f5829a8c238584ef123691bc88f54251b3 /source/EditorAttachmentImpl.hpp
parentd98a4159d86406a47628aa58bae9f3308fea4fd0 (diff)
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:
};