summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 15:18:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-04 15:18:32 +0000
commit7fc588638feb1a83ab58f78f9e2a9d0d23a083e0 (patch)
tree6f04693eb61ed14f99b5f4f0ffc3f0b5d9b738a5 /gfx/gl/shadowMapper.h
parentLoad length, wheelBase and maxSpeed RailVehicleClass properties from XML (diff)
downloadilt-7fc588638feb1a83ab58f78f9e2a9d0d23a083e0.tar.bz2
ilt-7fc588638feb1a83ab58f78f9e2a9d0d23a083e0.tar.xz
ilt-7fc588638feb1a83ab58f78f9e2a9d0d23a083e0.zip
DynamicPoint shadow render now supports updating the position without calling use again
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r--gfx/gl/shadowMapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h
index b4793ed..a5c2c7b 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -34,6 +34,7 @@ public:
DynamicPoint();
void setViewProjection(const glm::mat4 &) const;
void use(const Location &) const;
+ void setModel(const Location &) const;
private:
RequiredUniformLocation viewProjectionLoc;