diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-11 17:35:07 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-11 17:35:07 +0000 |
commit | ba4bca84808bebfc81be7df2cb536d1f73451bc6 (patch) | |
tree | a21f2d4820fa579534db791d4905c051146c6a4e /gfx/gl/bufferedLocation.cpp | |
parent | Add Location method for getting the rotation only transform (diff) | |
download | ilt-ba4bca84808bebfc81be7df2cb536d1f73451bc6.tar.bz2 ilt-ba4bca84808bebfc81be7df2cb536d1f73451bc6.tar.xz ilt-ba4bca84808bebfc81be7df2cb536d1f73451bc6.zip |
Add BufferedLocation method for getting the rotation only transform
Diffstat (limited to 'gfx/gl/bufferedLocation.cpp')
-rw-r--r-- | gfx/gl/bufferedLocation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/gl/bufferedLocation.cpp b/gfx/gl/bufferedLocation.cpp index 62cadef..6ba8812 100644 --- a/gfx/gl/bufferedLocation.cpp +++ b/gfx/gl/bufferedLocation.cpp @@ -63,3 +63,9 @@ BufferedLocation::getTransform() const { return loc.getTransform(); } + +glm::mat4 +BufferedLocation::getRotationTransform() const +{ + return loc.getRotationTransform(); +} |