clean up comments

This commit is contained in:
SoftFever
2026-08-23 22:43:41 +08:00
parent 7934814077
commit 2b1499a087
33 changed files with 127 additions and 193 deletions
@@ -639,9 +639,8 @@ static bool repair_cluster_smooth(
{
TriangleMesh stats_mesh(static_cast<const indexed_triangle_set&>(mesh));
const auto& stats = stats_mesh.stats();
// Orca's TriangleMeshStats defines manifold() as open_edges == 0 and does not track
// non-manifold edges/vertices separately, so BBS's "!manifold() || has_open_edges()"
// collapses to this single test and the extra counters drop out of the log.
// Orca's TriangleMeshStats only counts open edges: manifold() is open_edges == 0, and
// there are no separate non-manifold edge/vertex counters to test or log here.
if (!stats.manifold()) {
BOOST_LOG_TRIVIAL(info) << log_prefix << ": mesh has non-manifold geometry or open boundaries, open_edges="
<< stats.open_edges;