remove unused side_t field
This commit is contained in:
parent
77f2e39af5
commit
18c741a960
|
|
@ -499,18 +499,7 @@ void FilterDetailBrushesIntoTree( entity_t *e, tree_t& tree ){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
c_unique++;
|
c_unique++;
|
||||||
const int r = FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
|
c_clusters += 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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* emit some statistics */
|
/* emit some statistics */
|
||||||
|
|
@ -535,17 +524,7 @@ void FilterStructuralBrushesIntoTree( entity_t *e, tree_t& tree ) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
c_unique++;
|
c_unique++;
|
||||||
const int r = FilterBrushIntoTree_r( brush_t( b ), tree.headnode );
|
c_clusters += 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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* emit some statistics */
|
/* emit some statistics */
|
||||||
|
|
|
||||||
|
|
@ -752,7 +752,6 @@ struct side_t
|
||||||
int compileFlags; /* from shaderInfo */
|
int compileFlags; /* from shaderInfo */
|
||||||
int value; /* 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 bevel; /* don't ever use for bsp splitting, and don't bother making windings for it */
|
||||||
bool culled; /* ydnar: face culling */
|
bool culled; /* ydnar: face culling */
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user