X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=svbsp.c;h=4184378f5b24439d36ed8401396a8bcd715e3e17;hb=7b538b5bc22c5d907142428ade32d070e4fa404d;hp=ca6a1cf4dc47e606d572a0c66b51d82871ead170;hpb=cd238b37ac70f2656557763f68521e605369f72d;p=xonotic%2Fdarkplaces.git diff --git a/svbsp.c b/svbsp.c index ca6a1cf4..4184378f 100644 --- a/svbsp.c +++ b/svbsp.c @@ -262,7 +262,7 @@ static int SVBSP_AddPolygonNode(svbsp_t *b, int *parentnodenumpointer, int paren #if 0 for (i = 0;i < numpoints-2;i++) { - Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE, false, 0); + Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE); Debug_PolygonVertex(points[0], points[1], points[2], 0, 0, 0.25, 0, 0, 1); Debug_PolygonVertex(points[0 + (i + 1) * 3], points[1 + (i + 1) * 3], points[2 + (i + 1) * 3], 0, 0, 0.25, 0, 0, 1); Debug_PolygonVertex(points[0 + (i + 2) * 3], points[1 + (i + 2) * 3], points[2 + (i + 2) * 3], 0, 0, 0.25, 0, 0, 1); @@ -290,7 +290,7 @@ static int SVBSP_AddPolygonNode(svbsp_t *b, int *parentnodenumpointer, int paren #if 0 for (i = 0;i < numpoints-2;i++) { - Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE, false, 0); + Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE); Debug_PolygonVertex(points[0], points[1], points[2], 0, 0, 0, 0, 0.25, 1); Debug_PolygonVertex(points[0 + (i + 1) * 3], points[1 + (i + 1) * 3], points[2 + (i + 1) * 3], 0, 0, 0, 0, 0.25, 1); Debug_PolygonVertex(points[0 + (i + 2) * 3], points[1 + (i + 2) * 3], points[2 + (i + 2) * 3], 0, 0, 0, 0, 0.25, 1); @@ -312,7 +312,7 @@ int SVBSP_AddPolygon(svbsp_t *b, int numpoints, const double *points, int insert //if (insertoccluder) for (i = 0;i < numpoints-2;i++) { - Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE, false, 0); + Debug_PolygonBegin(NULL, DRAWFLAG_ADDITIVE); Debug_PolygonVertex(points[0], points[1], points[2], 0, 0, 0, 0.25, 0, 1); Debug_PolygonVertex(points[0 + (i + 1) * 3], points[1 + (i + 1) * 3], points[2 + (i + 1) * 3], 0, 0, 0, 0.25, 0, 1); Debug_PolygonVertex(points[0 + (i + 2) * 3], points[1 + (i + 2) * 3], points[2 + (i + 2) * 3], 0, 0, 0, 0.25, 0, 1);