From e2fcb6ac75fe46c932d29ed056242158c99c1c11 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 7 Jan 2023 19:11:25 +0000 Subject: Tidy shadow map creation --- gfx/gl/shadowMapper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gfx/gl/shadowMapper.h') diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h index bdbd39f..2805d64 100644 --- a/gfx/gl/shadowMapper.h +++ b/gfx/gl/shadowMapper.h @@ -48,6 +48,8 @@ public: } private: + [[nodiscard]] static std::vector> getBandViewExtents( + const Camera &, const glm::mat4 & lightView); glFrameBuffer depthMapFBO; glTexture depthMap; glm::ivec2 size; -- cgit v1.2.3