Shifted things around so that rendpoly_t->sector could be removed (it didn't belong there conceptually).
Next I'll tackle the wall specific data in rendpoly_t (used with the div stuff in order to render double fans). DivQuads need to be constructed earlier in the pipeline than RL_WriteDivQuad() in order to fix the lighting issues when using the bias lighting model.
Shifted things around so that rendpoly_t->sector could be removed (it didn't belong there conceptually).
Next I'll tackle the wall specific data in rendpoly_t (used with the div stuff in order to render double fans). DivQuads need to be constructed earlier in the pipeline than RL_WriteDivQuad() in order to fix the lighting issues when using the bias lighting model.