diff --git a/fast_quadratic_mesh_simplifier.cpp b/fast_quadratic_mesh_simplifier.cpp index fd1fd28..3c8d954 100644 --- a/fast_quadratic_mesh_simplifier.cpp +++ b/fast_quadratic_mesh_simplifier.cpp @@ -214,9 +214,7 @@ void FastQuadraticMeshSimplifier::simplify_mesh(float quality) { int deletedTris = 0; PoolVector deleted0; - deleted0.resize(20); PoolVector deleted1; - deleted1.resize(20); int startTrisCount = _mu_triangles.size(); int targetTrisCount = static_cast(_mu_triangles.size() * quality + 0.5);