summaryrefslogtreecommitdiff
path: root/lib/location.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 14:32:56 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 14:32:56 +0000
commit3200eb41d60595813dca751fe15193ba0b44dddf (patch)
tree064232efc8c72cfc8e7c723eec0d8438e561748a /lib/location.cpp
parentSend position and rotation matrix to GPU separately in shadowmapper dynamic (diff)
downloadilt-3200eb41d60595813dca751fe15193ba0b44dddf.tar.bz2
ilt-3200eb41d60595813dca751fe15193ba0b44dddf.tar.xz
ilt-3200eb41d60595813dca751fe15193ba0b44dddf.zip
Remove getTransform
Diffstat (limited to 'lib/location.cpp')
-rw-r--r--lib/location.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/location.cpp b/lib/location.cpp
index 9a31402..ff7cfa6 100644
--- a/lib/location.cpp
+++ b/lib/location.cpp
@@ -3,12 +3,6 @@
#include <glm/gtx/transform.hpp>
glm::mat4
-Location::getTransform() const
-{
- return glm::translate(pos) * rotate_ypr(rot);
-}
-
-glm::mat4
Location::getRotationTransform() const
{
return rotate_ypr(rot);