Files
bgfx/3rdparty/meshoptimizer/src/allocator.cpp
Бранимир Караџић 5f8326f20a Updated meshoptimizer.
2019-12-02 22:21:57 -08:00

9 lines
311 B
C++

// 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;
}