remove unused side_t field

This commit is contained in:
Garux 2021-09-08 19:45:04 +03:00
parent 77f2e39af5
commit 18c741a960
2 changed files with 2 additions and 24 deletions

View File

@ -499,18 +499,7 @@ void FilterDetailBrushesIntoTree( entity_t *e, tree_t& tree ){
continue;
}
c_unique++;
const int r = FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
c_clusters += r;
/* mark all sides as visible so drawsurfs are created */
if ( r ) {
for ( side_t& side : b.sides )
{
if ( !side.winding.empty() ) {
side.visible = true;
}
}
}
c_clusters += FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
}
/* emit some statistics */
@ -535,17 +524,7 @@ void FilterStructuralBrushesIntoTree( entity_t *e, tree_t& tree ) {
continue;
}
c_unique++;
const int r = FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
c_clusters += r;
// mark all sides as visible so drawsurfs are created
if ( r ) {
for ( side_t& side : b.sides ) {
if ( !side.winding.empty() ) {
side.visible = true;
}
}
}
c_clusters += FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
}
/* emit some statistics */

View File

@ -752,7 +752,6 @@ struct side_t
int compileFlags; /* from shaderInfo */
int value; /* from shaderInfo */
bool visible; /* choose visible planes first */
bool bevel; /* don't ever use for bsp splitting, and don't bother making windings for it */
bool culled; /* ydnar: face culling */
};