Added meshoptimizer library

This commit is contained in:
Segey Lapin
2021-10-25 18:36:05 +03:00
parent 6759432c45
commit 302719dd19
19 changed files with 8578 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
#include "meshoptimizer.h"
void meshopt_setAllocator(void* (*allocate)(size_t), void (*deallocate)(void*))
{
meshopt_Allocator::Storage::allocate = allocate;
meshopt_Allocator::Storage::deallocate = deallocate;
}