From 7129d65df7b02d7412ee5d56debd5a9c094db5ad Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 7 May 2022 15:36:35 -0700 Subject: Changeset: 23 Fix camera view matrix, [WIP] guizmo --- source/EditorAttachmentImpl.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/EditorAttachmentImpl.hpp') diff --git a/source/EditorAttachmentImpl.hpp b/source/EditorAttachmentImpl.hpp index e9dbe6f..53bcd37 100644 --- a/source/EditorAttachmentImpl.hpp +++ b/source/EditorAttachmentImpl.hpp @@ -9,17 +9,21 @@ #include class EaGameObject : public EditorAttachment { +public: + // NOTE: in degrees + glm::vec3 eulerAnglesRotation; + public: static std::unique_ptr Create(GameObject* object); }; -class EaPlayer : public EditorAttachment { +class EaPlayer : public EaGameObject { public: RcPtr confSprite; RcPtr confMaterial; }; -class EaLevelWrapper : public EditorAttachment { +class EaLevelWrapper : public EaGameObject { public: }; -- cgit v1.2.3-70-g09d2