aboutsummaryrefslogtreecommitdiff
path: root/source/GameObject.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-09 13:29:41 -0700
committerhnOsmium0001 <[email protected]>2022-04-09 13:29:41 -0700
commit906557f094e407ce21d429ef647bc75fe3179cf1 (patch)
tree5e6aaed6537a0328318b6cd6561f6a76bf8aa27d /source/GameObject.cpp
parente47a98793e58a5dbbe76bfed27e59408e43538e4 (diff)
More work on editor
Diffstat (limited to 'source/GameObject.cpp')
-rw-r--r--source/GameObject.cpp16
1 files changed, 16 insertions, 0 deletions
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*> 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;
};