Updated meshoptimizer.

This commit is contained in:
Бранимир Караџић 2020-05-15 23:37:26 -07:00
parent 45c548b594
commit 0197e2c1ca

View File

@ -1160,7 +1160,7 @@ static float interpolate(float y, float x0, float y0, float x1, float y1, float
} // namespace meshopt
#if TRACE
#ifndef NDEBUG
unsigned char* meshopt_simplifyDebugKind = 0;
unsigned int* meshopt_simplifyDebugLoop = 0;
#endif
@ -1304,7 +1304,7 @@ size_t meshopt_simplify(unsigned int* destination, const unsigned int* indices,
dumpLockedCollapses(result, result_count, vertex_kind);
#endif
#if TRACE
#ifndef NDEBUG
if (meshopt_simplifyDebugKind)
memcpy(meshopt_simplifyDebugKind, vertex_kind, vertex_count);