From d8464a28c6066931dd638653e2a082e2640191dc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 18 Feb 2026 17:14:31 +0000 Subject: Fix up the preFrame process to use both frustums (camera and directional light frustums) This has made the whole preFrame process far more fiddly and repetitive than I'd like, but it does work. Maybe we can tidy it up later. --- gfx/renderable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/renderable.h') diff --git a/gfx/renderable.h b/gfx/renderable.h index d7f593a..ea72bb6 100644 --- a/gfx/renderable.h +++ b/gfx/renderable.h @@ -13,7 +13,7 @@ public: virtual ~Renderable() = default; DEFAULT_MOVE_COPY(Renderable); - virtual void preFrame(const Frustum &); + virtual void preFrame(const Frustum &, const Frustum &); virtual void render(const SceneShader & shader, const Frustum &) const = 0; virtual void lights(const SceneShader & shader) const; virtual void shadows(const ShadowMapper & shadowMapper, const Frustum &) const; -- cgit v1.3