From 226a1909e727e1a85d2b88e3bdde86cff8cf4653 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 7 Mar 2025 02:03:21 +0000 Subject: Only render terrain tiles which are visible in the frustum --- game/terrain.h | 1 + 1 file changed, 1 insertion(+) (limited to 'game/terrain.h') diff --git a/game/terrain.h b/game/terrain.h index 66887ed..40a5989 100644 --- a/game/terrain.h +++ b/game/terrain.h @@ -35,6 +35,7 @@ private: glVertexArray vertexArray; glBuffer indicesBuffer; GLsizei count; + mutable bool visible; }; struct SurfaceKey { -- cgit v1.2.3