From b4deaca2c58141bc92dff21e033467bcb73218fd Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 27 Oct 2025 15:20:11 +0000 Subject: [PATCH] Remove commented code --- code/qcommon/cm_patch.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/code/qcommon/cm_patch.c b/code/qcommon/cm_patch.c index df892e98..ffeb2e6f 100644 --- a/code/qcommon/cm_patch.c +++ b/code/qcommon/cm_patch.c @@ -39,47 +39,6 @@ degenerate a few triangles. Completely degenerate rows and columns are handled properly. */ -/* -#define MAX_FACETS 1024 -#define MAX_PATCH_PLANES 2048 - -typedef struct { - float plane[4]; - int signbits; // signx + (signy<<1) + (signz<<2), used as lookup during collision -} patchPlane_t; - -typedef struct { - int surfacePlane; - int numBorders; // 3 or four + 6 axial bevels + 4 or 3 * 4 edge bevels - int borderPlanes[4+6+16]; - int borderInward[4+6+16]; - qboolean borderNoAdjust[4+6+16]; -} facet_t; - -typedef struct patchCollide_s { - vec3_t bounds[2]; - int numPlanes; // surface planes plus edge planes - patchPlane_t *planes; - int numFacets; - facet_t *facets; -} patchCollide_t; - - -#define MAX_GRID_SIZE 129 - -typedef struct { - int width; - int height; - qboolean wrapWidth; - qboolean wrapHeight; - vec3_t points[MAX_GRID_SIZE][MAX_GRID_SIZE]; // [width][height] -} cGrid_t; - -#define SUBDIVIDE_DISTANCE 16 //4 // never more than this units away from curve -#define PLANE_TRI_EPSILON 0.1 -#define WRAP_POINT_EPSILON 0.1 -*/ - int c_totalPatchBlocks; int c_totalPatchSurfaces; int c_totalPatchEdges;