- removed unused members from sector_t

This commit is contained in:
Christoph Oelckers 2013-12-05 12:19:44 +01:00
parent 058f065446
commit 2f60ca338b

View file

@ -781,10 +781,6 @@ struct sector_t
int vboindex[4]; // VBO indices of the 4 planes this sector uses during rendering int vboindex[4]; // VBO indices of the 4 planes this sector uses during rendering
fixed_t vboheight[2]; // Last calculated height for the 2 planes of this actual sector fixed_t vboheight[2]; // Last calculated height for the 2 planes of this actual sector
int vbocount[2]; // Total count of vertices belonging to this sector's planes int vbocount[2]; // Total count of vertices belonging to this sector's planes
#ifdef IBO_TEST
int iboindex[4]; // VBO indices of the 4 planes this sector uses during rendering
int ibocount;
#endif
float GetReflect(int pos) { return gl_plane_reflection_i? reflect[pos] : 0; } float GetReflect(int pos) { return gl_plane_reflection_i? reflect[pos] : 0; }
bool VBOHeightcheck(int pos) const { return vboheight[pos] == GetPlaneTexZ(pos); } bool VBOHeightcheck(int pos) const { return vboheight[pos] == GetPlaneTexZ(pos); }