summaryrefslogtreecommitdiff
path: root/lib/location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/location.cpp')
-rw-r--r--lib/location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/location.cpp b/lib/location.cpp
index 732dd6d..ff7cfa6 100644
--- a/lib/location.cpp
+++ b/lib/location.cpp
@@ -3,7 +3,7 @@
#include <glm/gtx/transform.hpp>
glm::mat4
-Location::getTransform() const
+Location::getRotationTransform() const
{
- return glm::translate(pos) * rotate_ypr(rot);
+ return rotate_ypr(rot);
}