Updated meshoptimizer.
This commit is contained in:
parent
45c548b594
commit
0197e2c1ca
4
3rdparty/meshoptimizer/src/simplifier.cpp
vendored
4
3rdparty/meshoptimizer/src/simplifier.cpp
vendored
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user