diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-18 14:23:18 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-12-18 14:23:18 +0000 |
commit | 348a4cdc6ba1bbf43e1fd7c6217fd2b62a1d605c (patch) | |
tree | b91093ac1ff3d6d1dedc768efcbe0555d8711cd8 /gfx/gl/shadowMapper.h | |
parent | Helper for midpoint of pair (diff) | |
download | ilt-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.h | 3 |
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: |