From: havoc Date: Sun, 17 Oct 2004 11:19:18 +0000 (+0000) Subject: increased edge hash size from 1024 items to 16384, cutting down on long q3bsp load... X-Git-Tag: xonotic-v0.1.0preview~5464 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a912c633ccb652b5bcbd380c2807674e109f043e;p=xonotic%2Fdarkplaces.git 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 --- 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;