Skip to content

Commit

Permalink
testing with meshoptimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarpilote committed Dec 7, 2021
1 parent 2dc6351 commit 50d0570
Show file tree
Hide file tree
Showing 19 changed files with 8,771 additions and 8 deletions.
8 changes: 8 additions & 0 deletions extern/meshoptimizer/src/allocator.cpp
Original file line number Diff line number Diff line change
@@ -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;
}
Loading

0 comments on commit 50d0570

Please sign in to comment.