diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-25 14:32:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-25 14:32:56 +0000 |
commit | 3200eb41d60595813dca751fe15193ba0b44dddf (patch) | |
tree | 064232efc8c72cfc8e7c723eec0d8438e561748a /gfx | |
parent | Send position and rotation matrix to GPU separately in shadowmapper dynamic (diff) | |
download | ilt-3200eb41d60595813dca751fe15193ba0b44dddf.tar.bz2 ilt-3200eb41d60595813dca751fe15193ba0b44dddf.tar.xz ilt-3200eb41d60595813dca751fe15193ba0b44dddf.zip |
Remove getTransform
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/gl/bufferedLocation.cpp | 6 | ||||
-rw-r--r-- | gfx/gl/bufferedLocation.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/gfx/gl/bufferedLocation.cpp b/gfx/gl/bufferedLocation.cpp index 412e3ab..2a2e723 100644 --- a/gfx/gl/bufferedLocation.cpp +++ b/gfx/gl/bufferedLocation.cpp @@ -58,12 +58,6 @@ BufferedLocation::setLocation(Position3D p, Rotation3D r) } glm::mat4 -BufferedLocation::getTransform() const -{ - return loc.getTransform(); -} - -glm::mat4 BufferedLocation::getRotationTransform() const { return loc.getRotationTransform(); diff --git a/gfx/gl/bufferedLocation.h b/gfx/gl/bufferedLocation.h index a5cd23e..30967e3 100644 --- a/gfx/gl/bufferedLocation.h +++ b/gfx/gl/bufferedLocation.h @@ -22,7 +22,6 @@ public: void setRotation(Rotation3D, bool update = true); void setLocation(Position3D, Rotation3D); - [[nodiscard]] glm::mat4 getTransform() const; [[nodiscard]] glm::mat4 getRotationTransform() const; private: |