summaryrefslogtreecommitdiff
path: root/gfx/gl/bufferedLocation.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-11 17:35:07 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-11 17:35:07 +0000
commitba4bca84808bebfc81be7df2cb536d1f73451bc6 (patch)
treea21f2d4820fa579534db791d4905c051146c6a4e /gfx/gl/bufferedLocation.h
parentAdd Location method for getting the rotation only transform (diff)
downloadilt-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.h')
-rw-r--r--gfx/gl/bufferedLocation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/bufferedLocation.h b/gfx/gl/bufferedLocation.h
index 39d3139..8302b3c 100644
--- a/gfx/gl/bufferedLocation.h
+++ b/gfx/gl/bufferedLocation.h
@@ -23,6 +23,7 @@ public:
void setLocation(Position3D, Rotation3D);
[[nodiscard]] glm::mat4 getTransform() const;
+ [[nodiscard]] glm::mat4 getRotationTransform() const;
private:
virtual void updateBuffer() = 0;