Cleanups.

This commit is contained in:
Relintai 2022-02-23 01:56:12 +01:00
parent 9cd631a36c
commit 3cde50a5c5

View File

@ -284,8 +284,6 @@ void Prop2DMesher::remove_doubles() {
} }
} }
} }
//print_error("after " + String::num(_vertices.size())+ " " + String::num(duration.count()));
} }
//lot faster that normal remove_doubles, but false positives can happen curtesy of hash collisions //lot faster that normal remove_doubles, but false positives can happen curtesy of hash collisions
@ -293,8 +291,6 @@ void Prop2DMesher::remove_doubles_hashed() {
if (_vertices.size() == 0) if (_vertices.size() == 0)
return; return;
//print_error("before " + String::num(_vertices.size()));
PoolVector<uint32_t> hashes; PoolVector<uint32_t> hashes;
hashes.resize(_vertices.size()); hashes.resize(_vertices.size());
for (int i = 0; i < _vertices.size(); ++i) { for (int i = 0; i < _vertices.size(); ++i) {
@ -337,8 +333,6 @@ void Prop2DMesher::remove_doubles_hashed() {
} }
} }
} }
//print_error("after " + String::num(_vertices.size()) + " " + String::num(duration.count()));
} }
void Prop2DMesher::reset() { void Prop2DMesher::reset() {