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. --- game/environment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'game/environment.h') diff --git a/game/environment.h b/game/environment.h index a6f3036..6a2e1ad 100644 --- a/game/environment.h +++ b/game/environment.h @@ -11,6 +11,7 @@ public: Environment(); void tick(TickDuration elapsed) override; void render(const SceneRenderer &, const SceneProvider &) const; + Direction2D getSunPos() const; static Direction2D getSunPos(const Direction2D position, const time_t time); private: -- cgit v1.3