|
|
@@ -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);
|
|
|
|