From: Rudolf Polzer Date: Sun, 19 Jun 2011 05:50:49 +0000 (+0200) Subject: improve visuals of arrows X-Git-Tag: xonotic-v0.5.0~199^2~14^2~2^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f5a85a0a5b37974989e0d16aaf075a59d681684b;p=xonotic%2Fxonotic-data.pk3dir.git improve visuals of arrows --- diff --git a/qcsrc/client/waypointsprites.qc b/qcsrc/client/waypointsprites.qc index 1a906f730..ff5108395 100644 --- a/qcsrc/client/waypointsprites.qc +++ b/qcsrc/client/waypointsprites.qc @@ -121,12 +121,12 @@ vector drawspritearrow(vector o, float ang, vector rgb, float a, float t) R_PolygonVertex(o + rotate('5.5 9.5 0'*t, ang), '0 0 0', '0 0 0', a); R_EndPolygon(); - R_BeginPolygon("", DRAWFLAG_NORMAL); + R_BeginPolygon("", DRAWFLAG_ADDITIVE); R_PolygonVertex(o + rotate('-8 8 0'*t, ang), '0 0 0', rgb, a); R_PolygonVertex(o + rotate('8 8 0'*t, ang), '0 0 0', rgb, a); R_PolygonVertex(o + rotate('0 0 0'*t, ang), '0 0 0', rgb, a); R_EndPolygon(); - R_BeginPolygon("", DRAWFLAG_NORMAL); + R_BeginPolygon("", DRAWFLAG_ADDITIVE); R_PolygonVertex(o + rotate('-4 8 0'*t, ang), '0 0 0', rgb, a); R_PolygonVertex(o + rotate('-4 16 0'*t, ang), '0 0 0', rgb, a); R_PolygonVertex(o + rotate('4 16 0'*t, ang), '0 0 0', rgb, a);