- 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 "poly_cull.h"
#include "polyrenderer/poly_renderer.h" #include "polyrenderer/poly_renderer.h"
void PolyCull::CullScene(const TriMatrix &worldToClip, const PolyClipPlane &portalClipPlane) void PolyCull::CullScene(const PolyClipPlane &portalClipPlane)
{ {
ClearSolidSegments(); ClearSolidSegments();
MarkViewFrustum(); MarkViewFrustum();

View file

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

View file

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