1
0
Fork 0
Univerxel/include/meshoptimizer/allocator.cpp

9 lines
311 B
C++
Raw Normal View History

2020-08-08 11:01:07 +00:00
// 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;
}