summaryrefslogtreecommitdiff
path: root/lib/location.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 19:45:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 19:45:54 +0000
commit8566e63b26f9e7ee809c03394743a0576c499378 (patch)
treecdcef5b698a224003ba54507dc24cbb27a57cbbe /lib/location.h
parentAdd glContainer::at override to update a single item (diff)
downloadilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.bz2
ilt-8566e63b26f9e7ee809c03394743a0576c499378.tar.xz
ilt-8566e63b26f9e7ee809c03394743a0576c499378.zip
We only need 3x3 matrix for model rotation spec
Diffstat (limited to 'lib/location.h')
-rw-r--r--lib/location.h2
1 files changed, 1 insertions, 1 deletions
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;