604140ad85
0.60.50: - Added procedural terrain generator (for now this is Editor only preview version) - Added LOD (Level Of Detail) support - Added LOD Generator to Editor (Mesh Window -> LOD Gen), uses the meshoptimizer library - Editor can merge multiple objects now into one mesh (Mesh window -> Merge Selected) - Ocean: added occlusion culling support to detect when ocean is occluded - can skip planar reflection render for ocean - can skip ocean simulation - can skip ocean rendering - CPU ray tracing optimization: TMin and TMax parameter - can improve Ray-AABB and Ray-Triangle tests - improves performance of third person character controller script - other fixes
9 lines
369 B
C++
9 lines
369 B
C++
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details
|
|
#include "meshoptimizer.h"
|
|
|
|
void meshopt_setAllocator(void* (MESHOPTIMIZER_ALLOC_CALLCONV *allocate)(size_t), void (MESHOPTIMIZER_ALLOC_CALLCONV *deallocate)(void*))
|
|
{
|
|
meshopt_Allocator::Storage::allocate = allocate;
|
|
meshopt_Allocator::Storage::deallocate = deallocate;
|
|
}
|