From 18b0c0e122f04b840f563862c5c1e4b2934b55c1 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Sat, 7 May 2022 15:36:35 -0700 Subject: 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