From a849c199d970e153580c312a24cfdfa099bc7b69 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 9 Apr 2022 13:29:41 -0700 Subject: Changeset: 4 More work on editor --- source/GameObject.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source/GameObject.cpp') diff --git a/source/GameObject.cpp b/source/GameObject.cpp index 9f8a8bf..2aaedeb 100644 --- a/source/GameObject.cpp +++ b/source/GameObject.cpp @@ -128,6 +128,22 @@ PodVector GameObject::RemoveAllChildren() { return result; } +const glm::vec3& GameObject::GetPos() { + return mPos; +} + +void GameObject::SetPos(const glm::vec3& pos) { + mPos = pos; +} + +const glm::quat& GameObject::GetRotation() const { + return mRot; +} + +void GameObject::SetRotation(const glm::quat& rotation) { + mRot = rotation; +} + Tags::GameObjectMemoryManagement GameObject::GetMemoryManagement() const { return Tags::GOMM_None; }; -- cgit v1.2.3-70-g09d2