Added decals
This commit is contained in:
parent
59f7dedfb4
commit
ff2ab61abc
5 changed files with 198 additions and 1 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include "sbar.h"
|
||||
#include "r_data/r_translate.h"
|
||||
#include "r_poly_wall.h"
|
||||
#include "r_poly_decal.h"
|
||||
#include "r_poly.h"
|
||||
#include "r_sky.h" // for skyflatnum
|
||||
|
||||
|
|
@ -203,6 +204,8 @@ void RenderPolyWall::Render(const TriMatrix &worldToClip)
|
|||
{
|
||||
PolyTriangleDrawer::draw(args, TriDrawVariant::DrawSubsector);
|
||||
}
|
||||
|
||||
RenderPolyDecal::RenderWallDecals(worldToClip, Line, SubsectorDepth);
|
||||
}
|
||||
|
||||
void RenderPolyWall::ClampHeight(TriVertex &v1, TriVertex &v2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue