// Shadow Volume BSP code written by Forest "LordHavoc" Hale on 2003-11-06 and placed into public domain.
// Modified by LordHavoc (to make it work and other nice things like that) on 2007-01-24 and 2007-01-25
-#include "quakedef.h"
-
#include <math.h>
#include <string.h>
#include "svbsp.h"
#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);
#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);
//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);