- Improve 3d floor and underwater rendering

This commit is contained in:
Magnus Norddahl 2017-08-17 22:34:23 +02:00
commit c2fa360bbc
3 changed files with 58 additions and 48 deletions

View file

@ -31,6 +31,7 @@ class RenderPolyPlane
{
public:
static void RenderPlanes(const TriMatrix &worldToClip, const PolyClipPlane &clipPlane, PolyCull &cull, subsector_t *sub, uint32_t stencilValue, double skyCeilingHeight, double skyFloorHeight, std::vector<std::unique_ptr<PolyDrawSectorPortal>> &sectorPortals);
static void Render3DPlanes(const TriMatrix &worldToClip, const PolyClipPlane &clipPlane, subsector_t *sub, uint32_t stencilValue);
private:
struct UVTransform