Cache 2D distance to rendpoly vertexes in rendpoly_vertex_t. Removed parameter distanceOverride from Rend_VertexColorsApplyTorchLight(), it is no longer needed. Fixed: Bug in occludeSubsector which failed to compare the correct seg side. Revised the calculation to determine a wall seg's light level delta. Optimize: Don't calculate the extraLight delta every time it is required.
Cache 2D distance to rendpoly vertexes in rendpoly_vertex_t.
Removed parameter distanceOverride from Rend_VertexColorsApplyTorchLight(), it is no longer needed.
Fixed: Bug in occludeSubsector which failed to compare the correct seg side.
Revised the calculation to determine a wall seg's light level delta.
Optimize: Don't calculate the extraLight delta every time it is required.