From 625b78bba16dcbbe97fa84bbf8f2273472d79ade Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 6 Mar 2025 00:25:22 +0000 Subject: Pass frustum into render functions Support for culling objects outside the view frustum --- game/network/rail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/network/rail.cpp') diff --git a/game/network/rail.cpp b/game/network/rail.cpp index d7de231..2a18b9a 100644 --- a/game/network/rail.cpp +++ b/game/network/rail.cpp @@ -166,7 +166,7 @@ namespace { } void -RailLinks::render(const SceneShader & shader) const +RailLinks::render(const SceneShader & shader, const Frustum &) const { if (!links.objects.empty()) { texture->bind(); -- cgit v1.2.3