Only draw thing if its in the subsector
This commit is contained in:
parent
d0f0500f0d
commit
2e2d6da00f
2 changed files with 20 additions and 6 deletions
|
|
@ -62,8 +62,8 @@ private:
|
|||
void AddLine(seg_t *line, sector_t *frontsector);
|
||||
TriVertex PlaneVertex(vertex_t *v1, sector_t *sector, const secplane_t &plane);
|
||||
|
||||
void AddSprite(AActor *thing);
|
||||
void AddWallSprite(AActor *thing);
|
||||
void AddSprite(AActor *thing, subsector_t *sub);
|
||||
void AddWallSprite(AActor *thing, subsector_t *sub);
|
||||
bool IsThingCulled(AActor *thing);
|
||||
visstyle_t GetSpriteVisStyle(AActor *thing, double z);
|
||||
FTexture *GetSpriteTexture(AActor *thing, /*out*/ bool &flipX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue