summaryrefslogtreecommitdiff
path: root/lib/location.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-11 17:32:05 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-11 17:32:05 +0000
commit5bc0462311ab4c691102f0bc39d6ae03c61a287b (patch)
treeeb3f2807f6300265ee1c4232681dfe1a86782df8 /lib/location.h
parentFix definition of shadowMapRegions (diff)
downloadilt-5bc0462311ab4c691102f0bc39d6ae03c61a287b.tar.bz2
ilt-5bc0462311ab4c691102f0bc39d6ae03c61a287b.tar.xz
ilt-5bc0462311ab4c691102f0bc39d6ae03c61a287b.zip
Add Location method for getting the rotation only transform
Diffstat (limited to 'lib/location.h')
-rw-r--r--lib/location.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/location.h b/lib/location.h
index 7f2b44d..55737ae 100644
--- a/lib/location.h
+++ b/lib/location.h
@@ -10,6 +10,7 @@ public:
#endif
[[nodiscard]] glm::mat4 getTransform() const;
+ [[nodiscard]] glm::mat4 getRotationTransform() const;
Position3D pos;
Rotation3D rot;