summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/location.cpp2
-rw-r--r--lib/location.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/location.cpp b/lib/location.cpp
index ff7cfa6..13acfde 100644
--- a/lib/location.cpp
+++ b/lib/location.cpp
@@ -2,7 +2,7 @@
#include "maths.h"
#include <glm/gtx/transform.hpp>
-glm::mat4
+glm::mat3
Location::getRotationTransform() const
{
return rotate_ypr(rot);
diff --git a/lib/location.h b/lib/location.h
index 8570fc2..016aee7 100644
--- a/lib/location.h
+++ b/lib/location.h
@@ -9,7 +9,7 @@ public:
explicit Location(GlobalPosition3D pos = {}, Rotation3D rot = {}) : pos {pos}, rot {rot} { }
#endif
- [[nodiscard]] glm::mat4 getRotationTransform() const;
+ [[nodiscard]] glm::mat3 getRotationTransform() const;
GlobalPosition3D pos;
Rotation3D rot;