- Remove unused function argument

This commit is contained in:
Magnus Norddahl 2017-09-22 00:56:14 +02:00
parent dd8a114bb8
commit 94a33229cc
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@
#include "poly_cull.h"
#include "polyrenderer/poly_renderer.h"
void PolyCull::CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane)
void PolyCull::CullScene(const PolyClipPlane &portalClipPlane)
{
ClearSolidSegments();
MarkViewFrustum();

View file

@ -29,7 +29,7 @@
class PolyCull
{
public:
void CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane);
void CullScene(const PolyClipPlane &portalClipPlane);
bool IsLineSegVisible(uint32_t subsectorDepth, uint32_t lineIndex)
{

View file

@ -60,7 +60,7 @@ void RenderPolyScene::Render(int portalDepth)
SectorPortals.clear();
LinePortals.clear();
Cull.CullScene(WorldToClip, PortalPlane);
Cull.CullScene(PortalPlane);
RenderSectors();
RenderPortals(portalDepth);
}