Added meshoptimizer library
This commit is contained in:
8
modules/world/thirdparty/meshoptimizer/allocator.cpp
vendored
Normal file
8
modules/world/thirdparty/meshoptimizer/allocator.cpp
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user