]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
increased edge hash size from 1024 items to 16384, cutting down on long q3bsp load...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Oct 2004 11:19:18 +0000 (11:19 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 17 Oct 2004 11:19:18 +0000 (11:19 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4659 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index d4948b4af60fc37d9f3413cefa34f5f7c3fec288..366a03f4088e04b3311e5a49c6dc2054065a09f7 100644 (file)
@@ -533,7 +533,7 @@ int Mod_BuildVertexRemapTableFromElements(int numelements, const int *elements,
 
 #if 1
 // fast way, using an edge hash
 
 #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;
 void Mod_BuildTriangleNeighbors(int *neighbors, const int *elements, int numtriangles)
 {
        int i, j, p, e1, e2, *n, hashindex, count, match;