]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Comment out the colorful block behind the arc beam
authorMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 16:46:22 +0000 (03:46 +1100)
committerMario <zacjardine@y7mail.com>
Wed, 17 Dec 2014 16:46:22 +0000 (03:46 +1100)
qcsrc/common/weapons/w_arc.qc

index ee2bb845fa77b69e3f57cd9678e60ae8a8a71271..5f272433d60277a2e4cb87edb681f8e5ce8d99fb 100644 (file)
@@ -811,8 +811,8 @@ void Draw_ArcBeam_callback(vector start, vector hit, vector end)
        vector top    = hitorigin + (thickdir * thickness);
        vector bottom = hitorigin - (thickdir * thickness);
        
-       vector last_top = WarpZone_TransformOrigin(WarpZone_trace_transform, Draw_ArcBeam_callback_last_top);
-       vector last_bottom = WarpZone_TransformOrigin(WarpZone_trace_transform, Draw_ArcBeam_callback_last_bottom);
+       //vector last_top = WarpZone_TransformOrigin(WarpZone_trace_transform, Draw_ArcBeam_callback_last_top);
+       //vector last_bottom = WarpZone_TransformOrigin(WarpZone_trace_transform, Draw_ArcBeam_callback_last_bottom);
 
        R_BeginPolygon(beam.beam_image, DRAWFLAG_NORMAL); // DRAWFLAG_ADDITIVE
        R_PolygonVertex(
@@ -821,7 +821,7 @@ void Draw_ArcBeam_callback(vector start, vector hit, vector end)
                beam.beam_color,
                beam.beam_alpha
        );
-       R_PolygonVertex(
+       /*R_PolygonVertex(
                last_top,
                '0 0.5 0' + ('0 0.5 0' * (Draw_ArcBeam_callback_last_thickness / beam.beam_thickness)),
                beam.beam_color,
@@ -838,7 +838,7 @@ void Draw_ArcBeam_callback(vector start, vector hit, vector end)
                '0 0.5 0' * (1 - (thickness / beam.beam_thickness)),
                beam.beam_color,
                beam.beam_alpha
-       );
+       );*/
        R_EndPolygon();
 
        // draw trailing particles