chore: removed engine
This commit is contained in:
parent
7fa4aac1c2
commit
49db301d52
13849 changed files with 0 additions and 7324366 deletions
17
engine/thirdparty/meshoptimizer/allocator.cpp
vendored
17
engine/thirdparty/meshoptimizer/allocator.cpp
vendored
|
|
@ -1,17 +0,0 @@
|
|||
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
|
||||
#include "meshoptimizer.h"
|
||||
|
||||
#ifdef MESHOPTIMIZER_ALLOC_EXPORT
|
||||
meshopt_Allocator::Storage& meshopt_Allocator::storage()
|
||||
{
|
||||
static Storage s = {::operator new, ::operator delete };
|
||||
return s;
|
||||
}
|
||||
#endif
|
||||
|
||||
void meshopt_setAllocator(void* (MESHOPTIMIZER_ALLOC_CALLCONV* allocate)(size_t), void (MESHOPTIMIZER_ALLOC_CALLCONV* deallocate)(void*))
|
||||
{
|
||||
meshopt_Allocator::Storage& s = meshopt_Allocator::storage();
|
||||
s.allocate = allocate;
|
||||
s.deallocate = deallocate;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue