Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић
2021-02-05 19:57:54 -08:00
parent 69758816a0
commit c7d9bd833c
4 changed files with 364 additions and 82 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ struct PositionHasher
static size_t hashBuckets2(size_t count)
{
size_t buckets = 1;
while (buckets < count)
while (buckets < count + count / 4)
buckets *= 2;
return buckets;