mirror of
https://github.com/Relintai/fast_quadratic_mesh_simplifier.git
synced 2024-11-12 08:35:03 +01:00
Tiny improvement.
This commit is contained in:
parent
3144600da9
commit
0007d4793e
@ -214,9 +214,7 @@ void FastQuadraticMeshSimplifier::simplify_mesh(float quality) {
|
||||
|
||||
int deletedTris = 0;
|
||||
PoolVector<bool> deleted0;
|
||||
deleted0.resize(20);
|
||||
PoolVector<bool> deleted1;
|
||||
deleted1.resize(20);
|
||||
|
||||
int startTrisCount = _mu_triangles.size();
|
||||
int targetTrisCount = static_cast<int>(_mu_triangles.size() * quality + 0.5);
|
||||
|
Loading…
Reference in New Issue
Block a user