From a912c633ccb652b5bcbd380c2807674e109f043e Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 17 Oct 2004 11:19:18 +0000 Subject: [PATCH] increased edge hash size from 1024 items to 16384, cutting down on long q3bsp load times when generating the shadow mesh git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4659 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index d4948b4a..366a03f4 100644 --- a/model_shared.c +++ b/model_shared.c @@ -533,7 +533,7 @@ int Mod_BuildVertexRemapTableFromElements(int numelements, const int *elements, #if 1 // fast way, using an edge hash -#define TRIANGLEEDGEHASH 1024 +#define TRIANGLEEDGEHASH 16384 void Mod_BuildTriangleNeighbors(int *neighbors, const int *elements, int numtriangles) { int i, j, p, e1, e2, *n, hashindex, count, match; -- 2.39.2