]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_lightning.c
remove some dead code
[xonotic/darkplaces.git] / r_lightning.c
index 7da3ee770bb66a62ef549f11e0f55a3892631114..03208b8ce780d05afb7ab500fa464d423a1acb85 100644 (file)
@@ -215,20 +215,6 @@ void R_CalcLightningBeamPolygonTexCoord2f(float *tc, float t1, float t2)
        }
 }
 
-void R_FogLightningBeam_Vertex3f_Color4f(const float *v, float *c, int numverts, float r, float g, float b, float a)
-{
-       int i;
-       float fog;
-       for (i = 0;i < numverts;i++, v += 3, c += 4)
-       {
-               fog = RSurf_FogVertex(v);
-               c[0] = r * fog;
-               c[1] = g * fog;
-               c[2] = b * fog;
-               c[3] = a;
-       }
-}
-
 float beamrepeatscale;
 
 void R_DrawLightningBeam_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfacelist)