summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-18 14:23:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-18 14:23:18 +0000
commit348a4cdc6ba1bbf43e1fd7c6217fd2b62a1d605c (patch)
treeb91093ac1ff3d6d1dedc768efcbe0555d8711cd8 /gfx/gl/shadowMapper.h
parentHelper for midpoint of pair (diff)
downloadilt-348a4cdc6ba1bbf43e1fd7c6217fd2b62a1d605c.tar.bz2
ilt-348a4cdc6ba1bbf43e1fd7c6217fd2b62a1d605c.tar.xz
ilt-348a4cdc6ba1bbf43e1fd7c6217fd2b62a1d605c.zip
First cut of view scope shadow mapper view
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r--gfx/gl/shadowMapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h
index 6782d60..45a9536 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -5,12 +5,13 @@
#include <glm/vec2.hpp>
class SceneProvider;
+class Camera;
class ShadowMapper {
public:
ShadowMapper(const glm::ivec2 & size);
- glm::mat4x4 update(const SceneProvider &, const glm::vec3 & direction) const;
+ glm::mat4x4 update(const SceneProvider &, const glm::vec3 & direction, const Camera &) const;
class FixedPoint : public Program {
public: